fix formatting

This commit is contained in:
pythongosssss 2023-11-27 14:02:50 +00:00
parent 34eccd863b
commit 9be0b30cf1
1 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ function checkState() {
const currentState = app.graph.serialize(); const currentState = app.graph.serialize();
if (!graphEqual(activeState, currentState)) { if (!graphEqual(activeState, currentState)) {
undo.push(activeState); undo.push(activeState);
if(undo.length > MAX_HISTORY) { if (undo.length > MAX_HISTORY) {
undo.shift(); undo.shift();
} }
activeState = clone(currentState); activeState = clone(currentState);