diff options
author | bobzel <zzzman@gmail.com> | 2023-11-19 11:55:52 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-11-19 11:55:52 -0500 |
commit | 95ca3c2419a760970d56a4af656b28c4f3b6c073 (patch) | |
tree | d8afa191064d09cffce31eb912e0cb3fea915d62 /src/client/views/nodes/ImageBox.tsx | |
parent | 2b0e4ccc096998eb1d727f2e85ea8c1a63b27e08 (diff) |
fixed creating anchors when pinning pdf/web/text doc with selection. fixed showing selected text overlay for text docs.
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index d74fb3d79..bca062190 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -84,7 +84,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp }; getAnchor = (addAsAnnotation: boolean, pinProps?: PinProps) => { - const visibleAnchor = this._getAnchor?.(this._savedAnnotations, false); // use marquee anchor, otherwise, save zoom/pan as anchor + const visibleAnchor = this._getAnchor?.(this._savedAnnotations, true); // use marquee anchor, otherwise, save zoom/pan as anchor const anchor = visibleAnchor ?? Docs.Create.ConfigDocument({ |