maptool icon indicating copy to clipboard operation
maptool copied to clipboard

[Bug]: FOW is inconsistent in blocking non-snap-to-grid tokens

Open kwvanderlinde opened this issue 1 month ago • 0 comments

Describe the Bug

When a player drags a non-snap-to-grid token through a FoW boundary, the amount that the token can enter the fog depends on the direction. Most directions allow the token to enter about halfway before being blocked. But if dragging up and to the right, the token is hardly able to enter the fog.

Also, in the diagonal case above, if I try to drag the token far, it is stopped by the fog. But if I then slowly drag the cursor back, eventually the token jumps halfway into the fog where it is once again stuck.

To Reproduce

  1. Create a gridless map with fog of war and a low vision distance.
  2. Place a token on the map with sight and clear its visible area.
  3. Start a server and connect as a player
  4. As the player, drag the token to the right until it crosses the fog boundary. Should go about halfway.
  5. As the player, drag the token diagonally up and to the right until it crosses the fog boundary. It will barely go in, and a pog-style token will appear to not go in at all.

Expected Behaviour

Tokens should be permitted to move halfway into fog before being blocked. This will make the FoW case more consistent with itself, and make it more consistent with MBL works for snap-to-grid tokens.

Additionally, the token should not become stuck when blocked by fog. Changing the angle of the drag should have the token respond accordingly.

Screenshots

No response

MapTool Info

1.13.2, 1.15.0-rc.3

Desktop

Linux Mint 21.3

Additional Context

No response

kwvanderlinde avatar May 30 '24 03:05 kwvanderlinde