"doc/vscode:/vscode.git/clone" did not exist on "e903fb802ee32b3b14dab7c7b2a28624e2771765"
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