From 29a36c46ab6c63b5957beeb07ea27d84fadc28a8 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Wed, 17 Jul 2013 13:12:49 +0200 Subject: [PATCH] hand tool behavior is correct. Fixed issue: 67 --- src/board/UBBoardView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ();