X Tutup
Skip to content

Fix blurry items on PopupMenu when v_separation has an odd value#112676

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
YeldhamDev:why_were_those_floats_in_the_first_place
Nov 14, 2025
Merged

Fix blurry items on PopupMenu when v_separation has an odd value#112676
Repiteo merged 1 commit intogodotengine:masterfrom
YeldhamDev:why_were_those_floats_in_the_first_place

Conversation

@YeldhamDev
Copy link
Member

Fixes #112557.

@YeldhamDev YeldhamDev added this to the 4.6 milestone Nov 12, 2025
@YeldhamDev YeldhamDev requested a review from a team as a code owner November 12, 2025 16:48
@davthedev
Copy link
Contributor

davthedev commented Nov 13, 2025

Good point. It offsets the icon to the nearest pixel.

The modern theme definition itself should also be reviewed, as there is a good number of non-integer multiplications of EDSCALE that are not rounded/floored afterwards. Otherwise there will remain a slight decentering of the contents of some items. Perhaps for another fix!

@YeldhamDev YeldhamDev force-pushed the why_were_those_floats_in_the_first_place branch from 47a2ea8 to 41d93ca Compare November 13, 2025 19:52
@Repiteo Repiteo merged commit 31c856e into godotengine:master Nov 14, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 14, 2025

Thanks!

@YeldhamDev YeldhamDev deleted the why_were_those_floats_in_the_first_place branch November 14, 2025 06:13
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.

Blurry icons and highlight rectangle in menus using modern theme

4 participants

X Tutup