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

fix: fixing font_measure and deleting useless type assertions in draw… #17

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

Harzu
Copy link
Owner

@Harzu Harzu commented Mar 17, 2024

  • char that is used for calculating font width and height was changed from A to m because m char has bigger width. It allow rendering more characters.
  • useless type assertions inside the widget.draw method were removed

@Harzu Harzu merged commit 8a30610 into master Mar 17, 2024
1 check passed
@Harzu Harzu deleted the fix_text_rendering branch March 17, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant