Merge pull request #19875 from willnationsdev/meta-underlined

Fix underline_meta not working in RichTextLabel
This commit is contained in:
George Marques 2018-07-01 23:13:46 -03:00 committed by GitHub
commit d56d7299e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);
font_color_shadow = _find_color(text, p_font_color_shadow);
underline = _find_underline(text);
if (_find_meta(text, &meta)) {
if (_find_meta(text, &meta) && underline_meta) {
underline = true;
}