diff --git a/packages/tldraw/src/lib/shapes/note/NoteShapeUtil.tsx b/packages/tldraw/src/lib/shapes/note/NoteShapeUtil.tsx index 4e3c72518..4e6ade8b2 100644 --- a/packages/tldraw/src/lib/shapes/note/NoteShapeUtil.tsx +++ b/packages/tldraw/src/lib/shapes/note/NoteShapeUtil.tsx @@ -156,9 +156,11 @@ export class NoteShapeUtil extends ShapeUtil { const noteHeight = this.getHeight(shape) // eslint-disable-next-line react-hooks/rules-of-hooks - const rotation = useValue('shape rotation', () => this.editor.getShape(id)?.rotation ?? 0, [ - this.editor, - ]) + const rotation = useValue( + 'shape rotation', + () => this.editor.getShapePageTransform(id)?.rotation() ?? 0, + [this.editor] + ) // todo: consider hiding shadows on dark mode if they're invisible anyway // eslint-disable-next-line react-hooks/rules-of-hooks