Merge pull request #48711 from Eoin-ONeill-Yokai/bug47687
Fix rich text label effects processing even when the node is invisible.
This commit is contained in:
commit
420e75f277
|
@ -1432,12 +1432,13 @@ void RichTextLabel::_notification(int p_what) {
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case NOTIFICATION_INTERNAL_PROCESS: {
|
case NOTIFICATION_INTERNAL_PROCESS: {
|
||||||
|
if (is_visible_in_tree()) {
|
||||||
float dt = get_process_delta_time();
|
float dt = get_process_delta_time();
|
||||||
|
|
||||||
_update_fx(main, dt);
|
_update_fx(main, dt);
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Control::CursorShape RichTextLabel::get_cursor_shape(const Point2 &p_pos) const {
|
Control::CursorShape RichTextLabel::get_cursor_shape(const Point2 &p_pos) const {
|
||||||
|
|
Loading…
Reference in New Issue