[nostalgia/studio] Fix TileSheetEditor to switch to appropriate subsheet on undo/redo
This commit is contained in:
@@ -79,6 +79,11 @@ bool TileSheetEditorView::updated() const noexcept {
|
||||
return m_updated || m_model.updated();
|
||||
}
|
||||
|
||||
ox::Error TileSheetEditorView::markUpdated() noexcept {
|
||||
m_updated = true;
|
||||
return OxError(0);
|
||||
}
|
||||
|
||||
void TileSheetEditorView::ackUpdate() noexcept {
|
||||
m_updated = false;
|
||||
m_model.ackUpdate();
|
||||
|
||||
Reference in New Issue
Block a user