Fix underline_meta not working in RichTextLabel

(cherry picked from commit a9ea06e73a)
This commit is contained in:
Will Nations 2018-07-01 00:15:27 -05:00 committed by Rémi Verschelde
parent f17983e9cf
commit f4db382c50
1 changed files with 1 additions and 1 deletions

View File

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