From fb41a1fd07faad49c88b2a8dc48b730a1609b00d Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 17 May 2023 09:43:38 -0400 Subject: fixed dragging marquee on images which blew up layout_scrollTop --- .../views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 95046661e..9bf071cc0 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1131,7 +1131,7 @@ export class CollectionFreeFormView extends CollectionSubView2 && this.rootDoc.layout_scrollTop === undefined && NumCast(this.rootDoc._freeform_scale, minScale) === minScale) { const maxPanY = minPanY + fitYscroll; const relTop = (panY - minPanY) / (maxPanY - minPanY); setTimeout(() => (this.rootDoc.layout_scrollTop = relTop * maxScrollTop), 10); -- cgit v1.2.3-70-g09d2