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

[VisualShader] Reduce size changes of nodes when connecting/disconnecting #95061

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

Geometror
Copy link
Member

Since the port label has a different height than the default input port button, many VS nodes get resized when connecting or disconnecting ports which can be disruptive/annoying.

Before:

vs_node_before

After:

vs_node_after

Also contains a tiny internal rename to improve readability. (I just came across this and included it in this PR since it's kind of related).

Copy link
Contributor

@paddy-exe paddy-exe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Works as expected and shown

Bildschirmaufnahme.2024-08-07.um.17.30.36.mov

MRP:
visualshader-nodesizetest.zip

@akien-mga akien-mga merged commit d775887 into godotengine:master Aug 7, 2024
18 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants