Revert "Fixed underlines and striketrough not respecting visible character"
This reverts commit 8bbcc624fd
.
This commit is contained in:
parent
fd968157a4
commit
c0bd05762e
1 changed files with 1 additions and 1 deletions
|
@ -438,6 +438,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||
was_separatable = separatable;
|
||||
just_breaked_in_middle = false;
|
||||
|
||||
w += cw;
|
||||
fw += cw;
|
||||
|
||||
end++;
|
||||
|
@ -579,7 +580,6 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
|||
|
||||
if (visible) {
|
||||
line_is_blank = false;
|
||||
w += font->get_char_size(c[i], c[i + 1]).x;
|
||||
}
|
||||
|
||||
if (c[i] == '\t') {
|
||||
|
|
Loading…
Reference in a new issue