aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
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 : (