Merge pull request #104703 from bruvzg/loc_dir_icons

Fix updating editor icons on translation change.
This commit is contained in:
Rémi Verschelde 2025-03-28 17:30:49 +01:00
commit fd02ff8d02
No known key found for this signature in database
GPG key ID: C3336907360768E1
7 changed files with 30 additions and 1 deletions

View file

@ -104,7 +104,8 @@ void ControlPositioningWarning::gui_input(const Ref<InputEvent> &p_event) {
void ControlPositioningWarning::_notification(int p_notification) {
switch (p_notification) {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
case NOTIFICATION_TRANSLATION_CHANGED:
case NOTIFICATION_THEME_CHANGED:
_update_warning();
_update_toggler();