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

fix formatting

parent 34eccd86
...@@ -10,7 +10,7 @@ function checkState() { ...@@ -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);
......
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