aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-28 14:36:28 -0500
committerbobzel <zzzman@gmail.com>2021-01-28 14:36:28 -0500
commitecacd10cd3f70013d7112f5742eb4168e898949e (patch)
treed1dd20a3e8e2e20b304677312ed60d6840d0d8e0 /src/client/views/nodes/WebBox.tsx
parentbc4cabf751097e847f0c64cc5acc25bc1ee09243 (diff)
fixed so marquee select doesn't happen when zoomed in on an image/video
Diffstat (limited to 'src/client/views/nodes/WebBox.tsx')
-rw-r--r--src/client/views/nodes/WebBox.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/views/nodes/WebBox.tsx b/src/client/views/nodes/WebBox.tsx
index 37f268823..4b7f0bf77 100644
--- a/src/client/views/nodes/WebBox.tsx
+++ b/src/client/views/nodes/WebBox.tsx
@@ -462,9 +462,7 @@ export class WebBox extends ViewBoxAnnotatableComponent<FieldViewProps, WebDocum
@action
onMarqueeDown = (e: React.PointerEvent) => {
- if (!e.altKey && e.button === 0 && this.active(true)) {
- this._marqueeing = [e.clientX, e.clientY];
- }
+ if (!e.altKey && e.button === 0 && this.active(true)) this._marqueeing = [e.clientX, e.clientY];
}
@action