diff options
author | mehekj <mehek.jethani@gmail.com> | 2022-06-02 13:32:17 -0400 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2022-06-02 13:32:17 -0400 |
commit | eee5c6e67b25c0ff49289458acea0ef6f11d92de (patch) | |
tree | 652b91ba9881c4fb45b07df5ae56ead79e26013f /src/client/views/nodes/ImageBox.tsx | |
parent | 53cae5e2ab9267295a824ff721c119ada5e5dc20 (diff) | |
parent | 30347f1ac971b3299cfbefd5505e20f5e82702e0 (diff) |
Merge branch 'inking-naafi-mehek' into master-cleanup
Diffstat (limited to 'src/client/views/nodes/ImageBox.tsx')
-rw-r--r-- | src/client/views/nodes/ImageBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ImageBox.tsx b/src/client/views/nodes/ImageBox.tsx index dd0acb311..ab4ed6b33 100644 --- a/src/client/views/nodes/ImageBox.tsx +++ b/src/client/views/nodes/ImageBox.tsx @@ -357,7 +357,7 @@ export class ImageBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProp return <div className="imageBox-annotationLayer" style={{ height: this.props.PanelHeight() }} ref={this._annotationLayer} />; } marqueeDown = (e: React.PointerEvent) => { - if (!e.altKey && e.button === 0 && this.layoutDoc._viewScale === 1 && this.props.isContentActive(true) && ![InkTool.Highlighter, InkTool.Pen].includes(CurrentUserUtils.SelectedTool)) { + if (!e.altKey && e.button === 0 && this.layoutDoc._viewScale === 1 && this.props.isContentActive(true) && ![InkTool.Highlighter, InkTool.Pen, InkTool.Write].includes(CurrentUserUtils.SelectedTool)) { setupMoveUpEvents(this, e, action(e => { MarqueeAnnotator.clearAnnotations(this._savedAnnotations); this._marqueeing = [e.clientX, e.clientY]; |