We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcd9cf commit 55f064cCopy full SHA for 55f064c
src/components/Board/Board.tsx
@@ -951,7 +951,12 @@ const Board = React.forwardRef<BoardActions, BoardProps>(
951
function (this: fabricTypes.CanvasAnnotationState, opt) {
952
const evt = opt.e;
953
954
- if ((evt.button === 0 && !opt.target) || evt.button === 1) {
+ if (
955
+ (evt.button === 0 &&
956
+ !opt.target &&
957
+ !this.drawingObject?.isDrawing) ||
958
+ evt.button === 1
959
+ ) {
960
this.isDragging = true;
961
this.selection = false;
962
this.lastPosX = evt.clientX;
0 commit comments