[nostalgia/core/studio] Add insert/delete tile actions and make double click on subsheet open SubsheetEditor
This commit is contained in:
@@ -78,10 +78,15 @@ class TileSheetEditorImGui: public studio::BaseEditor {
|
||||
|
||||
studio::UndoStack *undoStack() noexcept final;
|
||||
|
||||
[[nodiscard]]
|
||||
static geo::Vec2 clickPos(const ImVec2 &winPos, geo::Vec2 clickPos) noexcept;
|
||||
|
||||
protected:
|
||||
ox::Error saveItem() noexcept override;
|
||||
|
||||
private:
|
||||
void showSubsheetEditor() noexcept;
|
||||
|
||||
[[nodiscard]]
|
||||
constexpr auto model() const noexcept {
|
||||
return m_tileSheetEditor.model();
|
||||
|
||||
Reference in New Issue
Block a user