diff options
author | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-18 04:38:08 +0800 |
---|---|---|
committer | geireann <60007097+geireann@users.noreply.github.com> | 2020-06-18 04:38:08 +0800 |
commit | 57d4c562b6f0ef39dcd68f2985a56c4a683fcf49 (patch) | |
tree | bd288564c7f574aa81b314ef6c7fa8400ec846e7 /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
parent | 79d9ccbe68d0e567eba1daae0500d9ddba177b1b (diff) |
pdf changes + radial menu + create new workspaces
(bug with ink)
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 f3d0d135c..ae508cd67 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -261,7 +261,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp } public unhighlightSearchTerms = () => { - if (window.innerWidth < 1000) null; + if (window.screen.width < 600) null; else if (this._editorView && (this._editorView as any).docView) { const mark = this._editorView.state.schema.mark(this._editorView.state.schema.marks.search_highlight); const activeMark = this._editorView.state.schema.mark(this._editorView.state.schema.marks.search_highlight, { selected: true }); |