Merge pull request #106813 from bruvzg/tr_noti

Add missing `TRANSLATION_CHANGED` notifications.
This commit is contained in:
Rémi Verschelde 2025-06-10 12:30:01 +02:00
commit 68349be895
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 2 additions and 0 deletions

View file

@ -134,6 +134,7 @@ void MenuButton::_notification(int p_what) {
DisplayServer::get_singleton()->accessibility_update_set_popup_type(ae, DisplayServer::AccessibilityPopupType::POPUP_MENU);
} break;
case NOTIFICATION_TRANSLATION_CHANGED:
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
popup->set_layout_direction((Window::LayoutDirection)get_layout_direction());
} break;