mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
Fix metatile status not updating while pasting/swapping in Tileset Editor
This commit is contained in:
@@ -75,7 +75,6 @@ public slots:
|
||||
|
||||
private slots:
|
||||
void onWindowActivated();
|
||||
void onHoveredMetatileChanged(uint16_t);
|
||||
void onHoveredMetatileCleared();
|
||||
void onHoveredTileCleared();
|
||||
void onMetatileLayerSelectionChanged(const QPoint&, const QSize&);
|
||||
@@ -160,6 +159,8 @@ private:
|
||||
void updateLayerTileStatus();
|
||||
void showTileStatus(const Tile &tile);
|
||||
void showTileStatus(uint16_t tileId);
|
||||
void updateMetatileStatus();
|
||||
void showMetatileStatus(uint16_t metatileId);
|
||||
|
||||
Ui::TilesetEditor *ui;
|
||||
History<MetatileHistoryItem*> metatileHistory;
|
||||
|
||||
@@ -26,6 +26,9 @@ public:
|
||||
void removeFromSwapSelection(uint16_t metatileId);
|
||||
void clearSwapSelection();
|
||||
|
||||
bool hasCursor() const { return this->prevCellPos != QPoint(-1,-1); }
|
||||
uint16_t metatileIdUnderCursor() const { return this->lastHoveredMetatileId; }
|
||||
|
||||
QVector<uint16_t> usedMetatiles;
|
||||
bool selectorShowUnused = false;
|
||||
bool selectorShowCounts = false;
|
||||
|
||||
Reference in New Issue
Block a user