-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 wrapped text in native UI #12345
Conversation
a8fb732
to
96dc008
Compare
That's not what I was talking about. You need multiple spaces at the end of a wrapped line to see the difference. |
I meant leading multiple whitespace. You needed to keep ignoring whitespace after a word break until a non-whitespace character was encountered. Seems fine now. |
I had to rewrite render_text_ex because I did not really understand the existing code.
It feels like I simplified the function in the process.
Old:
Notice the missing [ of "[Cross-Controller]" at the beginning of the third line.
New: