From 845b70faad145527d731ebaccf58062e0d5e61f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Fertyk?= Date: Thu, 31 Mar 2022 22:28:40 +0200 Subject: [PATCH] Fix get_visible_line_count in RichTextLabel with newlines Fixed #59359. --- scene/gui/rich_text_label.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 627381628..d986f9b35 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -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;