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 editor properties vector ratio breaking when an element is set to zero #87740

Merged

Conversation

ryevdokimov
Copy link
Contributor

A ratio should be maintained even when an element in a vector is set to zero.

Before:

2024-01-30.08-57-39.mp4

After:

2024-01-30.08-55-15.mp4

@KoBeWi
Copy link
Member

KoBeWi commented Feb 18, 2024

Nice fix, it partially supersedes #77699. We could probably revert the part about grabbing, because it's no longer necessary.

@akien-mga akien-mga merged commit d8c98d7 into godotengine:master Feb 19, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@ryevdokimov ryevdokimov deleted the maintain-ratio-at-zero branch February 19, 2024 14:34
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.

4 participants