Skip to content

Commit

Permalink
Merge pull request #59765 from pfertyk/issue-59359-wrong-visible-line…
Browse files Browse the repository at this point in the history
…-count-if-newline

Fix wrong visible line count for newline
  • Loading branch information
akien-mga committed Dec 12, 2022
2 parents 004c174 + 32cdf9f commit bfce0c1
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 bfce0c1

Please sign in to comment.