[nostalgia/studio] Fix TileSheetEditor to switch to appropriate subsheet on undo/redo
This commit is contained in:
@@ -74,7 +74,7 @@ class TileSheetEditorImGui: public studio::BaseEditor {
|
||||
|
||||
void draw(core::Context*) noexcept override;
|
||||
|
||||
void drawSubsheetSelector(TileSheet::SubSheet*, TileSheet::SubSheetIdx *path) noexcept;
|
||||
void drawSubsheetSelector(TileSheet::SubSheet*, TileSheet::SubSheetIdx *path);
|
||||
|
||||
studio::UndoStack *undoStack() noexcept final;
|
||||
|
||||
@@ -114,7 +114,7 @@ class TileSheetEditorImGui: public studio::BaseEditor {
|
||||
private:
|
||||
ox::Error updateAfterClicked() noexcept;
|
||||
|
||||
ox::Error markUnsavedChanges(int) noexcept;
|
||||
ox::Error markUnsavedChanges(const studio::UndoCommand*) noexcept;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user