This commit is contained in:
2025-06-29 00:53:26 -04:00
parent 9083a25a2b
commit e4f6da650e
6 changed files with 19 additions and 14 deletions

View File

@@ -1842,7 +1842,7 @@ imgui_init
Preview* preview,
Settings* settings,
Tool* tool,
UndoStack* undoStack,
Snapshots* snapshots,
SDL_Window* window,
SDL_GLContext* glContext
)
@@ -1860,7 +1860,7 @@ imgui_init
self->preview = preview;
self->settings = settings;
self->tool = tool;
self->undoStack = undoStack;
self->snapshots = snapshots;
self->window = window;
self->glContext = glContext;
@@ -1926,8 +1926,10 @@ imgui_tick(Imgui* self)
_imgui_taskbar(self);
_imgui_dock(self);
/*
if (key_press(&self->input->keyboard, INPUT_KEYS[INPUT_UNDO]))
undo_stack_pop(self->undoStack, self->anm2);
undo_stack_pop(self->snapshots, self->anm2);
*/
}
void