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 godotengine#59359.

(cherry picked from commit 32cdf9f)
  • Loading branch information
pfertyk authored and akien-mga committed Dec 12, 2022
1 parent f1231a7 commit 00c346b
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 @@ -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;
Expand Down

0 comments on commit 00c346b

Please sign in to comment.