mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Fixed multi selection of items in photo editor.
This commit is contained in:
parent
184d984336
commit
9166423598
1 changed files with 3 additions and 3 deletions
|
@ -152,9 +152,9 @@ void ItemBase::mousePressEvent(QGraphicsSceneMouseEvent *event) {
|
|||
setZValue((*_lastZ)++);
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
_handle = handleType(event->pos());
|
||||
if (isHandling()) {
|
||||
setCursor(Qt::ClosedHandCursor);
|
||||
}
|
||||
}
|
||||
if (isHandling()) {
|
||||
setCursor(Qt::ClosedHandCursor);
|
||||
} else {
|
||||
QGraphicsItem::mousePressEvent(event);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue