1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix updating editor icons on translation change.

This commit is contained in:
Pāvels Nadtočajevs
2025-03-27 20:11:35 +02:00
parent 594d64ec24
commit e47207ad16
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();