Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line-count-if-newline
Fix wrong visible line count for newline
This commit is contained in:
commit
bfce0c1e52
@ -714,7 +714,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 New Issue
Block a user