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. 5
      src/board/UBBoardView.cpp

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

Loading…
Cancel
Save