diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-28 13:08:09 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-28 13:08:09 -0400 |
| commit | 729114c0867e3cc8d8e0668bae451976b387cb34 (patch) | |
| tree | 210350ff6716651c542fb4ecf8782e68d4dda9a3 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
| parent | 33b52b9344768b4db034cceed3c1ccab9a30c949 (diff) | |
simplified explore mode implementation
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index 3cd8b8b58..52d9c3b31 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -2095,7 +2095,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<FormattedTextB cursor: this._props.isContentActive() ? 'text' : undefined, height: this._props.height ? 'max-content' : undefined, overflow: this.layout_autoHeight ? 'hidden' : undefined, - pointerEvents: Doc.ActiveTool === InkTool.None && !this._props.onBrowseClickScript?.() ? undefined : 'none', + pointerEvents: Doc.ActiveTool === InkTool.None && !SnappingManager.ExploreMode ? undefined : 'none', }} onContextMenu={this.specificContextMenu} onKeyDown={this.onKeyDown} |
