[nostalgia/gfx/studio/tilesheet] Fix draw command to work on same pixel after switching subsheets

This commit is contained in:
Gary Talent 2025-05-30 23:32:51 -05:00
parent 4b5218c4f1
commit 514cb97835

View File

@ -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 {