summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-19 10:13:31 +0100
committerGitHub <noreply@github.com>2020-01-19 10:13:31 +0100
commitd7072e9cd4d770b8de0cded3e33a3e877a898a9e (patch)
treef1d59ec60d62efaa75405072c767237af441d3a1 /editor
parent43caf83c0973c22b54f28e84aa23e2c6d501fe1f (diff)
parent29daba5b0cd52ea2a0a684ab566f4b6f1baafdb8 (diff)
Merge pull request #35273 from dankan1890/quick_fix
AssetLibrary layout fix
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index bdef108ef2..c1f62e8342 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -435,7 +435,10 @@ void EditorAssetLibraryItemDownload::_notification(int p_what) {
String::humanize_size(download->get_body_size())));
} else {
// Total file size is unknown, so it cannot be displayed.
- status->set_text(TTR("Downloading..."));
+ progress->set_modulate(Color(0, 0, 0, 0));
+ status->set_text(vformat(
+ TTR("Downloading...") + " (%s)",
+ String::humanize_size(download->get_downloaded_bytes())));
}
}