1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Display a "loading" placeholder while icons are loading in the assetlib

This commit is contained in:
Hugo Locurcio
2019-06-08 11:18:52 +02:00
parent 693582f008
commit 9f6b470ea8
2 changed files with 2 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ void EditorAssetLibraryItem::_notification(int p_what) {
if (p_what == NOTIFICATION_ENTER_TREE) {
icon->set_normal_texture(get_icon("DefaultProjectIcon", "EditorIcons"));
icon->set_normal_texture(get_icon("ProjectIconLoading", "EditorIcons"));
category->add_color_override("font_color", Color(0.5, 0.5, 0.5));
author->add_color_override("font_color", Color(0.5, 0.5, 0.5));
}