commit aaef51de476d0b37fb7502f7fc180c6189fa8ccf
parent f95abc50b76508b43d737e615730c78fe642cb7b
Author: William Casarin <jb55@jb55.com>
Date: Thu, 6 Jul 2023 19:37:06 -0700
make spinner the correct size
todo: refactor these
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app.rs b/src/app.rs
@@ -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);