do not allow selection of invalid metatiles

- also display invalid metatiles as magenta to stand out more
This commit is contained in:
garakmon
2020-04-09 15:12:52 -04:00
committed by huderlem
parent 3a52c8680c
commit ef5ba968b1
5 changed files with 27 additions and 5 deletions

View File

@@ -48,6 +48,7 @@ private:
void updateSelectedMetatiles();
uint16_t getMetatileId(int x, int y);
QPoint getMetatileIdCoords(uint16_t);
bool shouldAcceptEvent(QGraphicsSceneMouseEvent*);
signals:
void hoveredMetatileSelectionChanged(uint16_t);