manuelVo / foundryvtt-drag-ruler

A Foundry VTT module that shows a ruler when dragging tokens so you can see how far you've dragged them
MIT License
40 stars 55 forks source link

[Bug] Measure Distance Tool only unsnaps from origin on grid #344

Open mcabel opened 2 months ago

mcabel commented 2 months ago

How to reproduce:

  1. Activate the Ruler/measure tool: image

  2. Pick any corner of a token or square on a grid holding the SHIFT key as the origin of your measurement. (also happens when holding the "Disable snapping hotkey" instead) image

  3. Pick a corner of a square on the grid as the destination: it will NOT be possible, because it WILL snap to the center of the square at the destination:

image


Expected behavior: When the shift key is pressed, the measure tool should not snap to origin or destination, it should be for free form measuring.


Test environment: Foundry v12.X DnD 3.X Drag Ruler 1.14.2 All modules disabled except drag upload and dependencies No console errors on f12 with this interaction.