Adds middle click for default node creation

Enable two useful properties
This commit is contained in:
pythongosssss
2023-04-02 15:57:12 +01:00
parent 27fc64ad46
commit 519890a5cc
2 changed files with 24 additions and 0 deletions

View File

@@ -676,6 +676,9 @@ class ComfyApp {
const canvas = (this.canvas = new LGraphCanvas(canvasEl, this.graph));
this.ctx = canvasEl.getContext("2d");
LiteGraph.release_link_on_empty_shows_menu = true;
LiteGraph.alt_drag_do_clone_nodes = true;
this.graph.start();
function resizeCanvas() {