mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
make some performance improvements to event rendering
This commit is contained in:
@@ -101,7 +101,7 @@ public:
|
||||
void updateSelectedEvents();
|
||||
void duplicateSelectedEvents();
|
||||
void redrawObject(DraggablePixmapItem *item);
|
||||
QList<DraggablePixmapItem *> *getObjects();
|
||||
QList<DraggablePixmapItem *> getObjects();
|
||||
|
||||
QGraphicsScene *scene = nullptr;
|
||||
QGraphicsPixmapItem *current_view = nullptr;
|
||||
@@ -147,6 +147,8 @@ public:
|
||||
|
||||
bool selectingEvent = false;
|
||||
|
||||
void shouldReselectEvents();
|
||||
|
||||
private:
|
||||
void setConnectionItemsVisible(bool);
|
||||
void setBorderItemsVisible(bool, qreal = 1);
|
||||
|
||||
Reference in New Issue
Block a user