Browse Source

Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line-count-if-newline

Fix wrong visible line count for newline
Rémi Verschelde 2 years ago
parent
commit
bfce0c1e52
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;