The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix formatting
pythongosssss9be0b30cf1f6
diff --git a/web/extensions/core/undoRedo.js b/web/extensions/core/undoRedo.jsindex 1c1d785a8..c6613b0f0 100644--- a/web/extensions/core/undoRedo.js+++ b/web/extensions/core/undoRedo.js@@ -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;}