tldraw/packages
Steve Ruiz 15b705800f
[fix] update useTransform.ts (#1327)
This PR fixes the way that rotation is handled in `useTransform`.

Before:
<img width="756" alt="image"
src="https://user-images.githubusercontent.com/23072548/236692574-7fcf94bd-76e2-4584-9ea0-4ea4aa6c7ffc.png">
After:
<img width="738" alt="image"
src="https://user-images.githubusercontent.com/23072548/236692585-f1970c9e-041c-470c-8bdb-af975ef48246.png">

### Test Plan

1. Select a bunch of shapes
2. Rotate the selection
3. The selection box should be correct
2023-05-07 18:24:06 +01:00
..
assets New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
editor [fix] update useTransform.ts (#1327) 2023-05-07 18:24:06 +01:00
file-format readmes 2023-05-04 13:47:56 +01:00
polyfills readmes 2023-05-04 13:47:56 +01:00
primitives readmes 2023-05-04 13:47:56 +01:00
tldraw New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
tlschema readmes 2023-05-04 13:47:56 +01:00
tlstore readmes 2023-05-04 13:47:56 +01:00
tlsync-client readmes 2023-05-04 13:47:56 +01:00
tlvalidate readmes 2023-05-04 13:47:56 +01:00
ui remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
utils readmes 2023-05-04 13:47:56 +01:00