diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-29 10:50:42 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-29 10:50:42 -0500 |
| commit | 1a3aa8a4e79deb501fce0c89ace8ea960003d8cd (patch) | |
| tree | 92efd03eb41a1123bc54519e0e644cafb903e9ff /src/client/views/collections/collectionFreeForm | |
| parent | bc8d4b46cdc836cbd59527ebfd1d891949d6e5ff (diff) | |
fixed sidebar button highoighting. fixed explore mode.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 2c65726b2..b22fdfa19 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -27,6 +27,7 @@ import { FormattedTextBox } from '../../nodes/formattedText/FormattedTextBox'; import { SubCollectionViewProps } from '../CollectionSubView'; import { MarqueeOptionsMenu } from './MarqueeOptionsMenu'; import './MarqueeView.scss'; +import { SnappingManager } from '../../../util/SnappingManager'; interface MarqueeViewProps { getContainerTransform: () => Transform; @@ -321,7 +322,7 @@ export class MarqueeView extends ObservableReactComponent<SubCollectionViewProps if (Utils.isClick(e.clientX, e.clientY, this._downX, this._downY, Date.now())) { if (Doc.ActiveTool === InkTool.None) { if (!this._props.trySelectCluster(e.shiftKey)) { - !DocumentView.ExploreMode && this.setPreviewCursor(e.clientX, e.clientY, false, false, this._props.Document); + !SnappingManager.ExploreMode && this.setPreviewCursor(e.clientX, e.clientY, false, false, this._props.Document); } else e.stopPropagation(); } // let the DocumentView stopPropagation of this event when it selects this document |
