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:
Rémi Verschelde 2022-12-12 13:40:14 +01:00
commit bfce0c1e52
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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;