Add missing TRANSLATION_CHANGED notifications.

This commit is contained in:
Pāvels Nadtočajevs 2025-05-26 07:52:07 +03:00
parent 45fc515ae3
commit 1d33693e0d
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
2 changed files with 2 additions and 0 deletions

View file

@ -387,6 +387,7 @@ void PopupPanel::_notification(int p_what) {
#endif
} break;
case Control::NOTIFICATION_TRANSLATION_CHANGED:
case Control::NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
if (is_visible()) {
_update_shadow_offsets();