aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TabDocView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-12-29 10:50:42 -0500
committerbobzel <zzzman@gmail.com>2023-12-29 10:50:42 -0500
commit1a3aa8a4e79deb501fce0c89ace8ea960003d8cd (patch)
tree92efd03eb41a1123bc54519e0e644cafb903e9ff /src/client/views/collections/TabDocView.tsx
parentbc8d4b46cdc836cbd59527ebfd1d891949d6e5ff (diff)
fixed sidebar button highoighting. fixed explore mode.
Diffstat (limited to 'src/client/views/collections/TabDocView.tsx')
-rw-r--r--src/client/views/collections/TabDocView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx
index 783817b06..ac0ce7a2a 100644
--- a/src/client/views/collections/TabDocView.tsx
+++ b/src/client/views/collections/TabDocView.tsx
@@ -435,7 +435,7 @@ export class TabDocView extends ObservableReactComponent<TabDocViewProps> {
disableMinimap = () => !this._document;
whenChildContentActiveChanges = (isActive: boolean) => (this._isAnyChildContentActive = isActive);
isContentActive = () => this._isContentActive;
- waitForDoubleClick = () => (DocumentView.ExploreMode ? 'never' : undefined);
+ waitForDoubleClick = () => (SnappingManager.ExploreMode ? 'never' : undefined);
@computed get docView() {
return !this._activated || !this._document ? null : (
<>