mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #104703 from bruvzg/loc_dir_icons
Fix updating editor icons on translation change.
This commit is contained in:
commit
fd02ff8d02
7 changed files with 30 additions and 1 deletions
|
@ -144,6 +144,11 @@ void FindReplaceBar::_notification(int p_what) {
|
|||
_update_toggle_replace_button(replace_text->is_visible_in_tree());
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
|
||||
case NOTIFICATION_TRANSLATION_CHANGED: {
|
||||
_update_toggle_replace_button(replace_text->is_visible_in_tree());
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
set_process_input(is_visible_in_tree());
|
||||
} break;
|
||||
|
@ -1649,6 +1654,13 @@ void CodeTextEditor::_notification(int p_what) {
|
|||
_update_text_editor_theme();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_LAYOUT_DIRECTION_CHANGED:
|
||||
case NOTIFICATION_TRANSLATION_CHANGED: {
|
||||
if (toggle_scripts_button->is_visible()) {
|
||||
update_toggle_scripts_button();
|
||||
}
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
if (toggle_scripts_button->is_visible()) {
|
||||
update_toggle_scripts_button();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue