|
|
@ -558,10 +558,6 @@ Here we determines cases when items should to get mouse press event at pressing |
|
|
|
if (currentTool != UBStylusTool::Selector) |
|
|
|
if (currentTool != UBStylusTool::Selector) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
break; |
|
|
|
break; |
|
|
|
case UBGraphicsItemType::StrokeItemType: |
|
|
|
|
|
|
|
if (currentTool == UBStylusTool::Play) |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
case UBGraphicsGroupContainerItem::Type: |
|
|
|
case UBGraphicsGroupContainerItem::Type: |
|
|
|
// Groups shouldn't reacts on any presses and moves for Play tool.
|
|
|
|
// Groups shouldn't reacts on any presses and moves for Play tool.
|
|
|
|
if(currentTool == UBStylusTool::Play) |
|
|
|
if(currentTool == UBStylusTool::Play) |
|
|
@ -1201,6 +1197,7 @@ void UBBoardView::mouseReleaseEvent (QMouseEvent *event) |
|
|
|
movingItem = NULL; |
|
|
|
movingItem = NULL; |
|
|
|
bReleaseIsNeed = false; |
|
|
|
bReleaseIsNeed = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (mWidgetMoved) |
|
|
|
if (mWidgetMoved) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mWidgetMoved = false; |
|
|
|
mWidgetMoved = false; |
|
|
|