From 95ca3c2419a760970d56a4af656b28c4f3b6c073 Mon Sep 17 00:00:00 2001 From: bobzel Date: Sun, 19 Nov 2023 11:55:52 -0500 Subject: fixed creating anchors when pinning pdf/web/text doc with selection. fixed showing selected text overlay for text docs. --- src/client/views/nodes/ImageBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/views/nodes/ImageBox.tsx') 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 { - 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({ -- cgit v1.2.3-70-g09d2