mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
fix: use 1-based numbering for id
current id is 2-based
This commit is contained in:
@@ -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