Skip to content

Commit

Permalink
Middle mouse drag (even when over nodes) when middle_click_slot_add_d…
Browse files Browse the repository at this point in the history
…efault_node is false
  • Loading branch information
Lerc committed Aug 17, 2023
1 parent 7e9518f commit 9b24af3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/litegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 9b24af3

Please sign in to comment.