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

Overlays: fix small performance overlay font sizes #10957

Merged
merged 1 commit into from Oct 4, 2021

Conversation

Megamouse
Copy link
Contributor

Fixes padding underflow when setting font_sizes smaller than 8.
The padding is half the font size and the top padding is set to padding-4.
So everything smaller than 8 would go below 0 which would increase the top padding to u32 max, causing the text to get rendered off-screen.

@Megamouse Megamouse merged commit af11546 into RPCS3:master Oct 4, 2021
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.

None yet

1 participant