aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-04-04 18:18:45 -0400
committerbob <bcz@cs.brown.edu>2019-04-04 18:18:45 -0400
commit4fde212cd00bd2f8fc2fa122309af3bb71bba2fd (patch)
tree7bdbbc74be779afe21e7fd82832d85b2c587aca6 /src/client/views/nodes/DocumentView.tsx
parente70be930dc7c8ff1e999bf163bcbb511a60bae6f (diff)
improved pdf bitmaps a bit, but still blurry.
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index 714ab9447..b9329f269 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -249,7 +249,7 @@ export class DocumentView extends React.Component<DocumentViewProps> {
document.removeEventListener("pointermove", this.onPointerMove);
document.removeEventListener("pointerup", this.onPointerUp);
e.stopPropagation();
- if (
+ if (!SelectionManager.IsSelected(this) &&
Math.abs(e.clientX - this._downX) < 4 &&
Math.abs(e.clientY - this._downY) < 4
) {