Fix underline_meta not working in RichTextLabel
(cherry picked from commit a9ea06e73a
)
This commit is contained in:
parent
f17983e9cf
commit
f4db382c50
|
@ -272,7 +272,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
|
||||||
if (p_mode == PROCESS_DRAW) {
|
if (p_mode == PROCESS_DRAW) {
|
||||||
color = _find_color(text, p_base_color);
|
color = _find_color(text, p_base_color);
|
||||||
underline = _find_underline(text);
|
underline = _find_underline(text);
|
||||||
if (_find_meta(text, &meta)) {
|
if (_find_meta(text, &meta) && underline_meta) {
|
||||||
|
|
||||||
underline = true;
|
underline = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue