Same method when redrawing as when theme changed
(cherry picked from commit c123a8c4f5
)
This commit is contained in:
parent
b6bcd09d7c
commit
15be90bbf3
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue