|
@@ -144,6 +144,11 @@ void FindReplaceBar::_notification(int p_what) {
|
|
_update_toggle_replace_button(replace_text->is_visible_in_tree());
|
|
_update_toggle_replace_button(replace_text->is_visible_in_tree());
|
|
} break;
|
|
} 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: {
|
|
case NOTIFICATION_VISIBILITY_CHANGED: {
|
|
set_process_input(is_visible_in_tree());
|
|
set_process_input(is_visible_in_tree());
|
|
} break;
|
|
} break;
|
|
@@ -1649,6 +1654,13 @@ void CodeTextEditor::_notification(int p_what) {
|
|
_update_text_editor_theme();
|
|
_update_text_editor_theme();
|
|
} break;
|
|
} 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: {
|
|
case NOTIFICATION_VISIBILITY_CHANGED: {
|
|
if (toggle_scripts_button->is_visible()) {
|
|
if (toggle_scripts_button->is_visible()) {
|
|
update_toggle_scripts_button();
|
|
update_toggle_scripts_button();
|