diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-04 10:36:09 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-04 10:36:09 -0500 |
| commit | 744dd170f0a4d4e4f2f83d763960edfd8cdb1924 (patch) | |
| tree | e29d7e7986763550a95cbcda7a3613db20ef2ae5 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | fee3821a95072ae31dbe7d79ef9e032040ef7738 (diff) | |
more adjustments to fitwidth behavior - want things to scroll vertically when they are fit width (eg images)
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -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 74f00d1b3..b80539d1e 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -815,7 +815,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P @action onPointerWheel = (e: React.WheelEvent): void => { - if (this.layoutDoc._lockedTransform || CurrentUserUtils.OverlayDocs.includes(this.props.Document) || this.props.Document.treeViewOutlineMode === "outline") return; + if (this.layoutDoc._lockedTransform || this.layoutDoc._fitWidth || CurrentUserUtils.OverlayDocs.includes(this.props.Document) || this.props.Document.treeViewOutlineMode === "outline") return; if (!e.ctrlKey && this.props.Document.scrollHeight !== undefined) { // things that can scroll vertically should do that instead of zooming e.stopPropagation(); } |
