930ea64d35
This PR fixes a bug where the drag distance for an interaction was being measured in page space rather than screen space. It should be measured in screen space. The actual check for `isDragging` is a little ugly but this is correct. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `bugfix` — Bug fix ### Test Plan 1. Zoom in 2. Drag the center handle of an arrow shape - [x] Unit Tests ### Release Notes - Fixed a bug where the minimum distance for a drag was wrong when zoomed in or out. |
||
---|---|---|
.. | ||
assets | ||
dotcom-shared | ||
editor | ||
namespaced-tldraw | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
tlsync | ||
utils | ||
validate |