Stuck nodes when loading a graph w/ a node that has a forceInput
input AND loads as collapsed
#1448
Labels
Bug
Something is confirmed to not be working properly.
When loading a graph, if a node has a
forceInput
AND is starting collapsed, then it cannot be interacted with (dragged, un-collapsed) by clicking. (One can get to an unstuck state by using the menu to un-collapse, then it becomes draggable).This is because the converted widget ends up with a
widget.last_y
ofNaN
upon which fails a test in litegraph.core later when attempting to interact.FWIW, it seems like the fix is simple, at line 67 of widgetInputs.js:
If you want to keep it as
undefined
(which does pass litegraph's check):Or, if wanting to treat as 0 (I don't know which is preferable):
The text was updated successfully, but these errors were encountered: