[nostalgia/gfx/studio/tilesheet] Fix draw command to work on same pixel after switching subsheets
All checks were successful
Build / build (push) Successful in 1m25s

This commit is contained in:
2025-05-30 23:32:51 -05:00
parent cb25e610bb
commit aa59db7a31

View File

@ -231,6 +231,7 @@ void TileSheetEditorModel::setActiveSubsheet(TileSheet::SubSheetIdx const&idx) n
m_activeSubsSheetIdx = idx;
this->activeSubsheetChanged.emit(m_activeSubsSheetIdx);
clearSelection();
m_lastDrawUpdatePt = {-1, -1};
}
void TileSheetEditorModel::fill(ox::Point const&pt, int const palIdx) noexcept {