You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've removed the code that, if a newline was encountered, would treat the whole line as empty. Possibly there are other dependencies for that calculation that I'm not currently aware of, in which case I'll update my PR.
Godot version
3.5 beta2
System information
Windows 10 x64
Issue description
When text contains newlines,
get_visible_line_count()
is off by the number of newlines. I use this code to automatically scroll the RTL:To the left is text with single, autowrapped line. To the right is text with one newline. The visible line count starts from 0 and is 1 too low.
Does not happen on master.
Steps to reproduce
visible_characters
get_visible_line_count()
Minimal reproduction project
ReproductionProject.zip
The text was updated successfully, but these errors were encountered: