aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-01-03 13:23:14 -0500
committerbobzel <zzzman@gmail.com>2024-01-03 13:23:14 -0500
commit3f7b73ee8a3f75cd688ee7ddc7b54d90b00bee67 (patch)
tree7334d2d4ce886b4ba990cab45d3945fc62502eef /src/client/views/nodes/CollectionFreeFormDocumentView.tsx
parentaf42d3061bd85907e3d987f0d794c250cfaded1c (diff)
fixed marquee annotator for lightbox with pdf and rotated documents.
Diffstat (limited to 'src/client/views/nodes/CollectionFreeFormDocumentView.tsx')
-rw-r--r--src/client/views/nodes/CollectionFreeFormDocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
index 548734dab..324a4b8d1 100644
--- a/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
+++ b/src/client/views/nodes/CollectionFreeFormDocumentView.tsx
@@ -229,7 +229,7 @@ export class CollectionFreeFormDocumentView extends DocComponent<CollectionFreeF
@action public float = () => {
const topDoc = this.Document;
const containerDocView = this._props.docViewPath().lastElement();
- const screenXf = containerDocView?.screenToLocalTransform();
+ const screenXf = containerDocView?.screenToNativeLocalTransform();
if (screenXf) {
SelectionManager.DeselectAll();
if (topDoc.z) {