aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.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/DocumentDecorations.tsx
parentbc8d4b46cdc836cbd59527ebfd1d891949d6e5ff (diff)
fixed sidebar button highoighting. fixed explore mode.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index f3da133c3..d2f23c2f3 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -97,7 +97,7 @@ export class DocumentDecorations extends ObservableReactComponent<DocumentDecora
}
@computed get Bounds() {
- return (LinkFollower.IsFollowing || DocumentView.ExploreMode) ?
+ return (LinkFollower.IsFollowing || SnappingManager.ExploreMode) ?
{ x: 0, y: 0, r: 0, b: 0 }
: SelectionManager.Views
.filter(dv => dv._props.renderDepth > 0)