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
Actually it doesn't count wrapped lines at all. It only counts lines and newlines that are drawn and are visible. As for before the fix, it wouldn't always give the correct number of wrapped visible lines.
For the reference get_line_count and scroll_to_line functions do not count wrapped lines as well, so get_visible_line_count is consistent with other functions.
Godot version:
3.2.3 rc3
Issue description:
This code
will always print 1 for a long text with multiple wrapped lines. It used to show the number of lines correctly.
This is a regression from #40217
CC @theoway
(adding 3.2 milestone because it's a cherry-picked regression, but the issue exists on master too)
Minimal reproduction project:
ReproductionProject.zip
The text was updated successfully, but these errors were encountered: