diff options
author | bobzel <zzzman@gmail.com> | 2019-04-11 08:51:39 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2019-04-11 08:51:39 -0400 |
commit | cbe23091b72c472be3e9a6de1cac5325171c282f (patch) | |
tree | 5045c765cb383e7981c9cad05946ceb14b1ecbca /src/client/views/nodes/DocumentView.tsx | |
parent | e5411598c4d2ecc7a0b4d8584b576ff5f45ad2a0 (diff) |
fixed zoom not always rendering. fixed documents (images, pdfs) not appearing. fixed lint warnings.
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 1465d589c..9c31a83c1 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -186,7 +186,7 @@ export class DocumentView extends React.Component<DocumentViewProps> { document.removeEventListener("pointerup", this.onPointerUp); e.stopPropagation(); if (!SelectionManager.IsSelected(this) && - e.button != 2 && + e.button !== 2 && Math.abs(e.clientX - this._downX) < 4 && Math.abs(e.clientY - this._downY) < 4 ) { |