tldraw/packages
Lu[ke] Wilson 1bf47391a3
Fix selection foreground being misaligned (#1380)
Nasty one!

This PR fixes the selection foreground of shapes getting misaligned when
the browser zoom was set to something other than 100%. It was always
happening all the time on android.


![image](https://github.com/tldraw/tldraw/assets/15892272/f75c19f9-769b-492c-bacd-fe96c5b596ed)

### Change Type

- [x] `patch` — Bug Fix

### Test Plan

1. Make a shape.
2. Select it.
3. Change your browser's zoom level.
4. Make sure the selection foreground stay in the right place (eg:
indicator, resize handles).


### Release Notes

- None (fix for a bug that hasn't released)

---------

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-05-16 08:37:37 +00:00
..
assets Rework the assets package for strategy-specific imports (#1341) 2023-05-09 16:08:38 +00:00
editor Fix selection foreground being misaligned (#1380) 2023-05-16 08:37:37 +00:00
file-format avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tldraw avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlschema avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlstore avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlsync-client avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui Add localizations for snapshots links (#1347) 2023-05-15 15:30:35 +00:00
utils avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00