mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-08 09:00:05 +00:00
Snaps for Comfy 🫰 (#239)
* Add Snaps for Comfy * Add snap visual effects * Update node measure to work everywhere * Fix findConnectByTypeSlot does not work for "*" * Fix regression in fast widget conversion
This commit is contained in:
@@ -130,6 +130,8 @@ export class LiteGraphGlobal {
|
||||
shift_click_do_break_link_from = false // [false!] prefer false if results too easy to break links - implement with ALT or TODO custom keys
|
||||
click_do_break_link_to = false // [false!]prefer false, way too easy to break links
|
||||
ctrl_alt_click_do_break_link = true // [true!] who accidentally ctrl-alt-clicks on an in/output? nobody! that's who!
|
||||
snaps_for_comfy = true // [true!] snaps links when dragging connections over valid targets
|
||||
snap_highlights_node = true // [true!] renders a partial border to highlight when a dragged link is snapped to a node
|
||||
|
||||
search_hide_on_mouse_leave = true // [false on mobile] better true if not touch device, TODO add an helper/listener to close if false
|
||||
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]
|
||||
|
||||
Reference in New Issue
Block a user