diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index e217d63c..0df26569 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -1084,7 +1084,7 @@ void UBBoardView::mouseMoveEvent (QMouseEvent *event) switch (currentTool) { case UBStylusTool::Hand : { - if (!mMouseButtonIsPressed && mTabletStylusIsPressed) { + if (!mMouseButtonIsPressed && !mTabletStylusIsPressed) { break; } QPointF eventPosition = event->posF ();