Skip to content

Commit 2924fbc

Browse files
fix
1 parent 804726e commit 2924fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Board/Board.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ const Board = React.forwardRef<BoardActions, BoardProps>(
10661066
editor.canvas.on(
10671067
"mouse:move",
10681068
function (this: fabricTypes.CanvasAnnotationState, opt) {
1069-
const pointer = editor.canvas.getPointer(opt.e);
1069+
const pointer = editor.canvas.getPointer(opt.e, true);
10701070
setLastPointerPosition(pointer);
10711071
if (this.isDragging) {
10721072
// Right mouse button is pressed

0 commit comments

Comments
 (0)