mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
added icon updating to most ui elements
This commit is contained in:
parent
97d7d84cac
commit
7793bfc544
10 changed files with 162 additions and 5 deletions
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue