mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-30 22:44:22 +01:00
make spinner the correct size
todo: refactor these
This commit is contained in:
@@ -295,7 +295,7 @@ fn render_pfp(ui: &mut egui::Ui, img_cache: &mut ImageCache, url: &str) {
|
||||
|
||||
match img_cache[&failed_key].ready() {
|
||||
None => {
|
||||
ui.spinner(); // still loading
|
||||
ui.add(Spinner::new().size(40.0));
|
||||
}
|
||||
Some(Err(e)) => {
|
||||
error!("Image load error: {:?}", e);
|
||||
|
||||
Reference in New Issue
Block a user