Merge pull request #31028 from creikey/fix-theme-update-richtextlabl

Same method when redrawing as when theme changed
This commit is contained in:
Rémi Verschelde
2019-08-05 08:05:02 +02:00
committed by GitHub

View File

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