fix logic error
This commit is contained in:
parent
a1c96530d0
commit
fddf59f5d7
@ -216,7 +216,7 @@ void CropScene::mouseMoved(QGraphicsSceneMouseEvent *e, QPointF cursorPos, QPoin
|
||||
auto buttons = e->buttons();
|
||||
if (e->modifiers() & Qt::ControlModifier && buttons == Qt::LeftButton) {
|
||||
auto item = whichItem(cursorPos);
|
||||
if (item) item->moveBy(cursorPos.x(), cursorPos.y());
|
||||
if (item) item->moveBy(delta.x(), delta.y());
|
||||
return;
|
||||
}
|
||||
if (buttons == Qt::LeftButton) {
|
||||
|
Loading…
Reference in New Issue
Block a user