diff options
| author | bobzel <zzzman@gmail.com> | 2022-12-23 17:30:51 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-12-23 17:30:51 -0500 |
| commit | a6f34fd4b67b863a85aab8fae0a2bd06a1decdc8 (patch) | |
| tree | 233df672f65a9551464c9498e837ed7ab4d5a317 /src/client/views | |
| parent | 04c961b163e90a9da2bad07d1ac241ea57a61094 (diff) | |
fixed scroll pan vs. zoom option and ui
Diffstat (limited to 'src/client/views')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index e8f382251..82b97dff0 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1019,7 +1019,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection if (this.layoutDoc._Transform || DocListCast(Doc.MyOverlayDocs?.data).includes(this.props.Document) || this.props.Document.treeViewOutlineMode === TreeViewType.outline) return; e.stopPropagation(); e.preventDefault(); - switch (!e.ctrlKey ? freeformScrollMode.Pan : Doc.UserDoc().freeformScrollMode) { + switch (!e.ctrlKey ? Doc.UserDoc().freeformScrollMode : freeformScrollMode.Pan) { case freeformScrollMode.Pan: // if shift is selected then zoom if (e.ctrlKey) { |
