fix formatting
This commit is contained in:
@@ -10,7 +10,7 @@ function checkState() {
|
||||
const currentState = app.graph.serialize();
|
||||
if (!graphEqual(activeState, currentState)) {
|
||||
undo.push(activeState);
|
||||
if(undo.length > MAX_HISTORY) {
|
||||
if (undo.length > MAX_HISTORY) {
|
||||
undo.shift();
|
||||
}
|
||||
activeState = clone(currentState);
|
||||
|
||||
Reference in New Issue
Block a user