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

[4.3] Cherry-picks for the 4.3 (4.3.1) branch - 1st gui bugs batch #944

Merged
merged 26 commits into from
Jan 23, 2025

Conversation

Spartan322
Copy link
Member

GUI Bug PRs:

Extra PRs:

bruvzg and others added 26 commits January 22, 2025 13:44
The color picker has a "legacy" fallback mode when
`FEATURE_SCREEN_CAPTURE` is not supported by the current
`DisplayServer`. It works by "freezing" the current view by making a
huge `Popup` with a `TextureRect` inside covering the screen.

Before this patch, said `TextureRect` could get cut off if its buffer
was nominally bigger than the parent popup, such as when the
`canvas_items` content scale mode is active.

This is because the default TextureRect scaling logic only allows
expanding the texture up. `EXPAND_IGNORE_SIZE` fixes that by allowing
the texture to logically "shrink", filling the whole screen
independently of the actual buffer size.

Special thanks to Federico Fausto Santoro for helping with the diagnosis
:D

Co-Authored-By: Federico Fausto Santoro <fedyfausto@hotmail.com>
(cherry picked from commit ef48c4d)
(cherry picked from commit 60fa3ec)
Replace two while loops with fposmodp.
Document radial_initial_angle wrapping.
Add testcases for set_radial_initial_angle()

(cherry picked from commit d692b7b)
@Spartan322 Spartan322 merged commit af00a96 into Redot-Engine:4.3 Jan 23, 2025
18 checks passed
@Spartan322 Spartan322 deleted the 4.3.1-cherry-pick/bugs-gui branch January 23, 2025 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.