[nostalgia/gfx/studio/tilesheet] Fix draw command to work on same pixel after switching subsheets
This commit is contained in:
parent
4b5218c4f1
commit
514cb97835
@ -231,6 +231,7 @@ void TileSheetEditorModel::setActiveSubsheet(TileSheet::SubSheetIdx const &idx)
|
||||
m_activeSubsSheetIdx = idx;
|
||||
this->activeSubsheetChanged.emit(m_activeSubsSheetIdx);
|
||||
clearSelection();
|
||||
m_lastDrawUpdatePt = {-1, -1};
|
||||
}
|
||||
|
||||
void TileSheetEditorModel::fill(ox::Point const &pt, uint8_t const palIdx) noexcept {
|
||||
|
Loading…
x
Reference in New Issue
Block a user