Merge pull request #35273 from dankan1890/quick_fix

AssetLibrary layout fix
This commit is contained in:
Rémi Verschelde 2020-01-19 10:13:31 +01:00 committed by GitHub
commit d7072e9cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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())));
}
}