Same method when redrawing as when theme changed

(cherry picked from commit c123a8c4f5)
This commit is contained in:
Cameron Reikes 2019-08-01 19:50:14 -07:00 committed by Rémi Verschelde
parent b6bcd09d7c
commit 15be90bbf3
1 changed files with 1 additions and 5 deletions

View File

@ -801,11 +801,7 @@ void RichTextLabel::_notification(int p_what) {
} break; } break;
case NOTIFICATION_THEME_CHANGED: { case NOTIFICATION_THEME_CHANGED: {
if (is_inside_tree() && use_bbcode) { update();
parse_bbcode(bbcode);
//first_invalid_line=0; //invalidate ALL
//update();
}
} break; } break;
case NOTIFICATION_DRAW: { case NOTIFICATION_DRAW: {