Make auto translation inheritable

This commit is contained in:
Michael Alexsander
2024-01-23 18:29:45 -03:00
parent 6f805dee2a
commit 7b42c24550
51 changed files with 284 additions and 136 deletions

View File

@@ -127,10 +127,7 @@ void OptionButton::_notification(int p_what) {
theme_cache.arrow_icon->draw(ci, ofs, clr);
} break;
case NOTIFICATION_TRANSLATION_CHANGED: {
popup->set_auto_translate(is_auto_translating());
[[fallthrough]];
}
case NOTIFICATION_TRANSLATION_CHANGED:
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED: {
popup->set_layout_direction((Window::LayoutDirection)get_layout_direction());
[[fallthrough]];