mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Make auto translation inheritable
This commit is contained in:
@@ -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]];
|
||||
|
||||
Reference in New Issue
Block a user