Fix get_visible_line_count in RichTextLabel with newlines
Fixed #59359.
This commit is contained in:
parent
a76316c0f0
commit
32cdf9fad2
1 changed files with 0 additions and 1 deletions
|
@ -692,7 +692,6 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||
|
||||
if (p_mode != PROCESS_CACHE) {
|
||||
lh = line < l.height_caches.size() ? l.height_caches[line] : 1;
|
||||
line_is_blank = true;
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue