Reflect palette changes in TE metatile selection

This commit is contained in:
GriffinR
2020-07-14 03:02:01 -04:00
committed by huderlem
parent 5798ef7fda
commit cf9314eaa6
2 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ public:
this->paletteId = 0;
this->xFlip = false;
this->yFlip = false;
this->paletteChanged = false;
setAcceptHoverEvents(true);
}
QPoint getSelectionDimensions();
@@ -48,6 +49,7 @@ private:
int paletteId;
bool xFlip;
bool yFlip;
bool paletteChanged;
void updateSelectedTiles();
uint16_t getTileId(int x, int y);
QPoint getTileCoords(uint16_t);