diff options
| author | bobzel <zzzman@gmail.com> | 2021-06-17 18:26:49 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-06-17 18:26:49 -0400 |
| commit | f651fda2c593981d918cea4afacfba4f73a1db58 (patch) | |
| tree | 4d642c2218d706bb3da19437bb8f3ea5eb073965 /src/client/views/nodes/VideoBox.tsx | |
| parent | d1e32902d0dabf92dd06d5aa9a139368eff17798 (diff) | |
fixed drawing on images/videos/photos
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 263fd5a19..fc08a2302 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -543,7 +543,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp } marqueeDown = action((e: React.PointerEvent) => { - if (!e.altKey && e.button === 0 && this.layoutDoc._viewScale === 1 && this.isContentActive(true)) this._marqueeing = [e.clientX, e.clientY]; + if (!e.altKey && e.button === 0 && this.layoutDoc._viewScale === 1 && this.isContentActive(true) && ![InkTool.Highlighter, InkTool.Pen].includes(CurrentUserUtils.SelectedTool)) this._marqueeing = [e.clientX, e.clientY]; }); finishMarquee = action(() => { |
