Browse Source

Fix get_visible_line_count in RichTextLabel with newlines

Fixed #59359.

(cherry picked from commit 32cdf9fad2e0cffdc7fb9e4bcce2dedc1ead9f9d)
Paweł Fertyk 3 years ago
parent
commit
00c346b325
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/gui/rich_text_label.cpp

+ 0 - 1
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;