You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
More icon updates on theme change
(cherry picked from commit 0ac6e6acbe)
This commit is contained in:
committed by
Rémi Verschelde
parent
8db39b82ea
commit
8eb539d5c1
@@ -39,15 +39,11 @@ void ResourcePreloaderEditor::_gui_input(Ref<InputEvent> p_event) {
|
||||
}
|
||||
|
||||
void ResourcePreloaderEditor::_notification(int p_what) {
|
||||
if (p_what == NOTIFICATION_ENTER_TREE) {
|
||||
load->set_icon(get_icon("Folder", "EditorIcons"));
|
||||
}
|
||||
|
||||
if (p_what == NOTIFICATION_READY) {
|
||||
//NodePath("/root")->connect("node_removed", this,"_node_removed",Vector<Variant>(),true);
|
||||
}
|
||||
|
||||
if (p_what == NOTIFICATION_DRAW) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_ENTER_TREE:
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
load->set_icon(get_icon("Folder", "EditorIcons"));
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user