aboutsummaryrefslogtreecommitdiff
path: root/editor/code_editor.cpp
diff options
context:
space:
mode:
authortoger52017-08-30 01:03:13 +0200
committertoger52017-08-30 21:47:09 +0200
commit7793bfc544deb6517ca68c3e295eaba27bf74910 (patch)
tree4f530ed2d100db352ae60f2893a437766cb8f750 /editor/code_editor.cpp
parent97d7d84cac161e5cad110ab0edc3b7ee7d9a20a4 (diff)
downloadgodot-7793bfc544deb6517ca68c3e295eaba27bf74910.tar.gz
godot-7793bfc544deb6517ca68c3e295eaba27bf74910.tar.zst
godot-7793bfc544deb6517ca68c3e295eaba27bf74910.zip
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r--editor/code_editor.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp
index ad52f445d..e09145c05 100644
--- a/editor/code_editor.cpp
+++ b/editor/code_editor.cpp
@@ -92,6 +92,13 @@ void FindReplaceBar::_notification(int p_what) {
} else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) {
set_process_unhandled_input(is_visible_in_tree());
+ } else if (p_what == EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED) {
+
+ find_prev->set_icon(get_icon("MoveUp", "EditorIcons"));
+ find_next->set_icon(get_icon("MoveDown", "EditorIcons"));
+ hide_button->set_normal_texture(get_icon("Close", "EditorIcons"));
+ hide_button->set_hover_texture(get_icon("CloseHover", "EditorIcons"));
+ hide_button->set_pressed_texture(get_icon("Close", "EditorIcons"));
}
}