mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-21 16:15:58 -05:00
Fix double event select change
This commit is contained in:
@@ -999,7 +999,7 @@ void DraggablePixmapItem::mousePressEvent(QGraphicsSceneMouseEvent *mouse) {
|
||||
last_x = static_cast<int>(mouse->pos().x() + this->pos().x()) / 16;
|
||||
last_y = static_cast<int>(mouse->pos().y() + this->pos().y()) / 16;
|
||||
this->editor->selectMapEvent(this, mouse->modifiers() & Qt::ControlModifier);
|
||||
this->editor->updateSelectedEvents();
|
||||
//this->editor->updateSelectedEvents();
|
||||
selectingEvent = true;
|
||||
//qDebug() << QString("(%1, %2)").arg(event->get("x")).arg(event->get("y"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user