-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Add a 2D scale factor property #21446
Conversation
Moving to 3.2 milestone as we're about to enter the beta stage and release freeze for Godot 3.1. Only bug fixes against issues of the 3.1 milestone (or enhancements to core features of the 3.1 roadmap) will be considered until 3.1-stable is released. Note: If it's merged after 3.1-stable is released, this change might be considered for cherry-picking into a later 3.1.x release. |
6ecd9dc
to
956e487
Compare
956e487
to
7fb3680
Compare
I rebased this pull request against the current |
7fb3680
to
0d2fe75
Compare
The added option seems interesting, but I'm wary of doing such changes to This can and should still be reviewed properly ASAP - and if it's deemed safe to include in 3.2, I don't mind changing the milestone back. |
This can be used to make 2D elements larger or smaller, independently of the current stretch mode. Only the `disabled` and `2d` stretch modes support this new property.
0d2fe75
to
5b851b3
Compare
@aaronfranke |
@Calinou I just checked, in the latest master the |
Superseded by #52170. |
This can be used to make 2D elements larger or smaller, independently of the current stretch mode.
Only the
disabled
and2d
stretch modes support this new property.Note that I removed the property hint for
shrink
as it was causing the Project Settings GUI to recognize it as a string instead of a floating-point value (it seems there's no way to add property hints for floats).Demo project