diff options
author | bobzel <zzzman@gmail.com> | 2023-09-19 16:44:45 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-09-19 16:44:45 -0400 |
commit | a70a332cd075d97cf4c48740f3f74cc6c07bf839 (patch) | |
tree | 06c530fab9e185415c8f208917084f3b6aec4074 /src/client/views/DocumentDecorations.tsx | |
parent | 82986937293e3ac1d7e9761b4d28fb3925fcb15b (diff) |
turned off document decorations and context menus in explore mode.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 327bb5585..a30252b0c 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -90,7 +90,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P @computed get Bounds() { - if (LinkFollower.IsFollowing) return { x: 0, y: 0, r: 0, b: 0 }; + if (LinkFollower.IsFollowing || DocumentView.ExploreMode) return { x: 0, y: 0, r: 0, b: 0 }; const views = SelectionManager.Views(); return views .filter(dv => dv.props.renderDepth > 0) |