Tldraw/packages/editor/src/lib/hooks
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
..
shared.ts
useApp.ts
useCanvasEvents.ts
useCoarsePointer.ts
useContainer.tsx
useCursor.ts remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
useDarkMode.ts remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
useDocumentEvents.ts [fix] typo in isFocusingInput (#1221) 2023-05-03 15:57:59 +00:00
useEditorComponents.tsx
useEvent.tsx
useFixSafariDoubleTapZoomPencilEvents.ts
useForceUpdate.ts
useGestureEvents.ts
useHandleEvents.ts
useIsCropping.ts
useIsEditing.ts
usePattern.tsx remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00
usePeerIds.ts
usePreloadAssets.ts
usePresence.ts
useQuickReactor.ts
useReactor.ts
useSafariFocusOutFix.ts
useScreenBounds.ts
useSelectionEvents.ts
useShapeEvents.ts
useTransform.ts [fix] update useTransform.ts (#1327) 2023-05-07 18:24:06 +01:00
useUrlState.tsx
useZoomCss.ts remove svg layer, html all the things, rs to tl (#1227) 2023-05-05 14:14:42 +00:00