Skip to content

Adjust hex code box baseline calculation.#106621

Merged
Repiteo merged 1 commit into
godotengine:masterfrom
bruvzg:hexbox_bl
May 20, 2025
Merged

Adjust hex code box baseline calculation.#106621
Repiteo merged 1 commit into
godotengine:masterfrom
bruvzg:hexbox_bl

Conversation

@bruvzg
Copy link
Copy Markdown
Member

@bruvzg bruvzg commented May 20, 2025

Hex box was always drawn with 0.85 ascent, so it should not change visually, but string height should be more accurate and decrease probability of string height changes (#106584 (comment), depends on used fonts).

@bruvzg bruvzg added this to the 4.5 milestone May 20, 2025
@bruvzg bruvzg requested a review from a team as a code owner May 20, 2025 05:58
@lvcivs
Copy link
Copy Markdown

lvcivs commented May 20, 2025

Can confirm that this fixes the upward shift mentioned in the comment linked above.

@Repiteo Repiteo merged commit 8bd4285 into godotengine:master May 20, 2025
20 checks passed
@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented May 20, 2025

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.

4 participants