"vscode:/vscode.git/clone" did not exist on "f4b2d11f3ca1c2647eb30670e406824ef4de1d3e"
Commit 9be0b30c authored by pythongosssss's avatar pythongosssss
Browse files

fix formatting

parent 34eccd86
......@@ -10,9 +10,9 @@ function checkState() {
const currentState = app.graph.serialize();
if (!graphEqual(activeState, currentState)) {
undo.push(activeState);
if(undo.length > MAX_HISTORY) {
undo.shift();
}
if (undo.length > MAX_HISTORY) {
undo.shift();
}
activeState = clone(currentState);
redo.length = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment