diff --git a/src/litegraph.js b/src/litegraph.js index 46ba5038..d8fbe89f 100755 --- a/src/litegraph.js +++ b/src/litegraph.js @@ -6226,7 +6226,11 @@ LGraphNode.prototype.executeAction = function(action) } } } - } + } else if (!skip_action && this.allow_dragcanvas) { + //console.log("pointerevents: dragging_canvas start from middle button"); + this.dragging_canvas = true; + } + } else if (e.which == 3 || this.pointer_is_double) {