mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-11 02:20:08 +00:00
Merge pull request #75 from NateScarlet/id-numbering
Use 1-based id numbering
This commit is contained in:
1293
build/litegraph.js
1293
build/litegraph.js
File diff suppressed because it is too large
Load Diff
10103
build/litegraph.min.js
vendored
10103
build/litegraph.min.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -472,8 +472,8 @@
|
||||
this.stop();
|
||||
this.status = LGraph.STATUS_STOPPED;
|
||||
|
||||
this.last_node_id = 1;
|
||||
this.last_link_id = 1;
|
||||
this.last_node_id = 0;
|
||||
this.last_link_id = 0;
|
||||
|
||||
this._version = -1; //used to detect changes
|
||||
|
||||
@@ -9178,4 +9178,4 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
}
|
||||
})(this);
|
||||
|
||||
if (typeof exports != "undefined") exports.LiteGraph = this.LiteGraph;
|
||||
if (typeof exports != "undefined") exports.LiteGraph = this.LiteGraph;
|
||||
|
||||
Reference in New Issue
Block a user