You've already forked godot
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:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user