Skip to content

Commit

Permalink
Fix get_visible_line_count in RichTextLabel with newlines
Browse files Browse the repository at this point in the history
Fixed #59359.
  • Loading branch information
pfertyk committed Mar 31, 2022
1 parent a76316c commit 32cdf9f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scene/gui/rich_text_label.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,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;
Expand Down

0 comments on commit 32cdf9f

Please sign in to comment.