You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix loop break missing
* Fix logic - cannot reconnect AND disconnect
* Add ctrl + alt + click to disconnect nodes
Adds disconnect feature and very minor bug fixes (in separate commits):
- Ctrl + Alt + Click: Disconnect an input or output
- Ctrl + Alt + Click & Drag: Rewire any input/output to another node with a single click
- Added LiteGraph setting, on by default.
6036: skip_action = true
Not sure why skip_action was set to true, here. It prevents disconnect and drag to a new output on the same click, so I've included it in the main commit. Ideally, this should be controlled by a consumer hook, e.g. onDisconnectInput.
Copy file name to clipboardExpand all lines: src/litegraph.js
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,7 @@
112
112
113
113
shift_click_do_break_link_from: false,// [false!] prefer false if results too easy to break links - implement with ALT or TODO custom keys
114
114
click_do_break_link_to: false,// [false!]prefer false, way too easy to break links
115
+
ctrl_alt_click_do_break_link: true,// [true!] who accidentally ctrl-alt-clicks on an in/output? nobody! that's who!
115
116
116
117
search_hide_on_mouse_leave: true,// [false on mobile] better true if not touch device, TODO add an helper/listener to close if false
117
118
search_filter_enabled: false,// [true!] enable filtering slots type in the search widget, !requires auto_load_slot_types or manual set registered_slot_[in/out]_types and slot_types_[in/out]
0 commit comments