RPTools/maptool

[Bug]: Map dragging sometimes jumps by a lot when moving a token

Closed this issue · 0 comments

Describe the Bug

When dragging a token with the left mouse button, then starting to also drag the map with the right mouse button (as sometimes happens when placing waypoints), the map will jump considerably if the right-button is pressed while the mouse is in motion.

To Reproduce

  1. Open a new campaign.
  2. Drop your favourite token on the map.
  3. Drag the token around with the left button, moving it near the top-left of the map.
  4. While keeping the left button pressed, also press the right button when near the top-left. Drag the map a small amount, then release the right button.
  5. With the left button still pressed, drag the token down to the bottom-right of the screen. While the mouse is still moving, press the right button.
  6. If all works, you should see the entire map jump significantly down and to the right.

Expected Behaviour

Map drags do not introduce jumps regardless of button combinations.

Screenshots

No response

MapTool Info

1.15.2

Desktop

Linux Mint 22

Additional Context

No response