Same method when redrawing as when theme changed
This commit is contained in:
parent
77e8947687
commit
c123a8c4f5
|
@ -821,11 +821,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: {
|
||||||
|
|
Loading…
Reference in New Issue