Fix underline_meta not working in RichTextLabel

This commit is contained in:
Will Nations 2018-07-01 00:15:27 -05:00
parent 0ffec7daf7
commit a9ea06e73a
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
color = _find_color(text, p_base_color); color = _find_color(text, p_base_color);
font_color_shadow = _find_color(text, p_font_color_shadow); font_color_shadow = _find_color(text, p_font_color_shadow);
underline = _find_underline(text); underline = _find_underline(text);
if (_find_meta(text, &meta)) { if (_find_meta(text, &meta) && underline_meta) {
underline = true; underline = true;
} }