fixed an issue where the finger selector would not move text items just created

preferencesAboutTextFull
Clément Fauconnier 5 years ago
parent b430618474
commit add38a48d0
  1. 3
      src/board/UBBoardView.cpp

@ -681,6 +681,9 @@ bool UBBoardView::itemShouldBeMoved(QGraphicsItem *item)
case UBGraphicsStrokesGroup::Type: case UBGraphicsStrokesGroup::Type:
return false; return false;
case UBGraphicsTextItem::Type: case UBGraphicsTextItem::Type:
if (currentTool == UBStylusTool::Play)
return true;
else
return !item->isSelected(); return !item->isSelected();
} }

Loading…
Cancel
Save