-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to fix edge cases in columns not lining up in generated indexes
Reported issue is SlimeKnights/TinkersConstruct#4720 Mantle text drawing logic for list elements includes a prefix element which is drawn before the text ignoring the split. In some other languages, the recommend split is after the prefix element causing the estimate to be too many lines, while the renderer never splits after the prefix. To fix this issue, just ask Mantle directly for the number of lines needed to draw the text considering the prefix instead of using the Minecraft font renderer
- Loading branch information
1 parent
40bf198
commit 1f18116
Showing
3 changed files
with
27 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters