Skip to content

Commit

Permalink
implement panning (middle mouse button)
Browse files Browse the repository at this point in the history
  • Loading branch information
svencc committed Jan 30, 2024
1 parent dc7656f commit 4eb1a7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class JavaFxMouseButtonCommandMapper implements IsInputCommandMapper<IsMo
public JavaFxMouseButtonCommandMapper() {
mouseButtonEventFSMs.add(new MouseButtonEventFSM1(Duration.ofMillis(150), Duration.ofMillis(150), MouseButton.PRIMARY));
mouseButtonEventFSMs.add(new MouseButtonEventFSM1(Duration.ofMillis(150), Duration.ofMillis(150), MouseButton.SECONDARY));
mouseButtonEventFSMs.add(new MouseButtonEventFSM1(Duration.ofMillis(999), Duration.ofMillis(-1), MouseButton.MIDDLE));
mouseButtonEventFSMs.add(new MouseButtonEventFSM1(Duration.ofMillis(99999), Duration.ofMillis(-1), MouseButton.MIDDLE));

startMachines();
}
Expand Down

0 comments on commit 4eb1a7e

Please sign in to comment.