Fixed cache issue on edit undo, and added an edit button for layers

This commit is contained in:
Yousef Khadadeh 2026-01-05 15:19:21 +03:00
parent 6e13c5742e
commit dbec3641d8
5 changed files with 14 additions and 8 deletions

View file

@ -23,7 +23,7 @@ class UndoManager {
private:
void push_undo(const UndoRedoPair& undoRedoPair);
void push_redo(const UndoRedoPair& undoRedoPair);
size_t queueLimit = 500;
size_t queueLimit = 250;
std::deque<UndoRedoPair> undoQueue;
std::deque<UndoRedoPair> redoQueue;
};