aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorsharkiecodes <lanyi_stroud@brown.edu>2025-06-13 10:17:46 -0400
committersharkiecodes <lanyi_stroud@brown.edu>2025-06-13 10:17:46 -0400
commitfbf768dd4c7734cfdcca38fd1dc1ecf63c64d985 (patch)
tree1c267a3762543b469805d0e08e13f9d311e6a036 /src/client/views/DocumentDecorations.tsx
parent2c947f1ba7785ccbb705c0dce7e6bd64821da99d (diff)
parenta7a7a5a75845d40f835a38a3af24f000db50009b (diff)
Merge branch 'master' into lanyi-branch
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 383960444..9172a3734 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -912,8 +912,8 @@ export class DocumentDecorations extends ObservableReactComponent<DocumentDecora
transform: `rotate(${rotation}deg)`,
width: this.Bounds.r - this.Bounds.x + 'px',
height: this.Bounds.b - this.Bounds.y + 'px',
- left: this.Bounds.x,
- top: this.Bounds.y,
+ left: this.Bounds.r,
+ top: this.Bounds.b,
pointerEvents: 'none',
}}>
{this._isRotating ? null : (