mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-22 08:36:06 -05:00
Automatically select the newly-created event via the Pencil tool
This commit is contained in:
@@ -1070,6 +1070,7 @@ void Editor::mouseEvent_map(QGraphicsSceneMouseEvent *event, MapPixmapItem *item
|
||||
DraggablePixmapItem * newEvent = addNewEvent(this->selected_events->first()->event->get("event_type"));
|
||||
if (newEvent) {
|
||||
newEvent->move(x, y);
|
||||
selectMapEvent(newEvent, false);
|
||||
}
|
||||
}
|
||||
} else if (map_edit_mode == "select") {
|
||||
|
||||
Reference in New Issue
Block a user