diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-28 14:36:28 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-28 14:36:28 -0500 |
| commit | ecacd10cd3f70013d7112f5742eb4168e898949e (patch) | |
| tree | d1dd20a3e8e2e20b304677312ed60d6840d0d8e0 /src/client/views/nodes/VideoBox.tsx | |
| parent | bc4cabf751097e847f0c64cc5acc25bc1ee09243 (diff) | |
fixed so marquee select doesn't happen when zoomed in on an image/video
Diffstat (limited to 'src/client/views/nodes/VideoBox.tsx')
| -rw-r--r-- | src/client/views/nodes/VideoBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index ee5fffcc6..63e463e8b 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -535,7 +535,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<FieldViewProps, VideoD } marqueeDown = action((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.props.Document._viewScale === 1 && this.active(true)) this._marqueeing = [e.clientX, e.clientY]; }); finishMarquee = action(() => { |
