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

Merge pull request #29599 from Calinou/assetlib-project-icon-loading

Display a "loading" placeholder while icons are loading in the assetlib
This commit is contained in:
Rémi Verschelde
2019-06-12 13:36:06 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -58,7 +58,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));
price->add_color_override("font_color", Color(0.5, 0.5, 0.5));