diff options
author | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:45 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:45 -0400 |
commit | 3f3ba063bb6e3bde20dafc8a9e6d7fe9254e22fe (patch) | |
tree | d7f34c753114cde32b5f83e29016ad1c12f47b10 /src/client/views/nodes/DocumentView.tsx | |
parent | 2e3b83df9b0cb69db6f5febae70a2e36a0a90822 (diff) |
fixed behavior of menuButtons to toggle contents. added start of a filter panel.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 0182e652f..41e6d9603 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -300,7 +300,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu let stopPropagate = true; let preventDefault = true; !this.props.Document._isBackground && this.props.bringToFront(this.props.Document); - if (this._doubleTap && this.props.renderDepth && (this.props.Document.type !== DocumentType.FONTICON || this.onDoubleClickHandler)) {// && !this.onClickHandler?.script) { // disable double-click to show full screen for things that have an on click behavior since clicking them twice can be misinterpreted as a double click + if (this._doubleTap && ((this.props.renderDepth && this.props.Document.type !== DocumentType.FONTICON) || this.onDoubleClickHandler)) {// && !this.onClickHandler?.script) { // disable double-click to show full screen for things that have an on click behavior since clicking them twice can be misinterpreted as a double click if (this._timeout) { clearTimeout(this._timeout); this._timeout = undefined; |