Skip to content

Conversation

pythongosssss
Copy link
Collaborator

If the node is offscreen when it's created, no initial resize event is fired so the widgets don't get their sizes calculated.

This runs the size calculations on draw if there is no size set

@comfyanonymous comfyanonymous merged commit a8aa623 into comfyanonymous:master Mar 22, 2023
@pythongosssss pythongosssss deleted the calc-sizes-on-draw branch March 23, 2023 11:27
@mordak-95 mordak-95 mentioned this pull request Nov 7, 2024
christian-byrne pushed a commit to christian-byrne/ComfyUI that referenced this pull request Jul 8, 2025
Co-authored-by: thorsten <thorsten@tripod-digital.co.nz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants