Closed rgthree closed 8 months ago
Trying emergency fix this right now. Will have to deep dive on how comfyui managing the element display and zooming being work. I copy-pasted verbatim the addDOMWidget and this somehow break things. Weird.
Reference: https://github.com/Trung0246/ComfyUI-0246/issues/21
Close as dupe.
Also @rgthree , do you have any ideas on relevant issues in the past that relates to addDOMWidget
? The current goal is I'm trying to implement an alternative dynamic widget size mechanism like in ComfyUI but with more options. My implement current works so far right now but it kinda falls off with some backward compatibility stuff like this.
Maybe I should have done more testing.
(Originally filed here, but looks like it's this custom node: https://github.com/comfyanonymous/ComfyUI/issues/2568 )
Steps:
app.canvas.centerOnNode(app.graph.getNodeById(12))
where 12 is the node id of the node offscreen.