Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix primitive resize #683

Merged
merged 4 commits into from
Aug 29, 2024
Merged

Fix primitive resize #683

merged 4 commits into from
Aug 29, 2024

Conversation

pythongosssss
Copy link
Member

Calling addWidget on a node causes LiteGraph to recalculate the size of the node.
This stores the current size before adding the widgets and only allows the node to grow.

Fixes #676

@huchenlei huchenlei added the New Browser Test Expectations New browser test screenshot should be set by github action label Aug 29, 2024
@huchenlei huchenlei merged commit d006771 into main Aug 29, 2024
2 checks passed
@huchenlei huchenlei deleted the fix-primitive-resize branch August 29, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Browser Test Expectations New browser test screenshot should be set by github action
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: 'Primitive' nodes for INT and FLOAT shrink after loading .json file
2 participants