1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

More icon updates on theme change

This commit is contained in:
Haoyu Qiu
2022-03-15 23:05:12 +08:00
parent 51bbcbdec2
commit 0ac6e6acbe
5 changed files with 24 additions and 11 deletions

View File

@@ -39,7 +39,8 @@
void ResourcePreloaderEditor::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_ENTER_TREE: {
case NOTIFICATION_ENTER_TREE:
case NOTIFICATION_THEME_CHANGED: {
load->set_icon(get_theme_icon(SNAME("Folder"), SNAME("EditorIcons")));
} break;
}