sdfx icon indicating copy to clipboard operation
sdfx copied to clipboard

Middle click for dragging canvas doesn't work.

Open morgan55555 opened this issue 10 months ago • 0 comments

Drag'n'drop canvas with middle mouse click doesn't work. "if (LiteGraph.middle_click_slot_add_default_node)" at line 803 in CanvasEvents.ts completely blocking drag'n'drop, 'cause it's condition is "else if". Fixed it locally by adding "skip_action = true;" to middle click node adding code and removed "else", but not sure, JS is not my favorite language. CanvasEvents.zip

morgan55555 avatar Apr 23 '24 06:04 morgan55555