diff --git a/assets/cartridge.blend b/assets/cartridge.blend index 230fca9..245b616 100644 Binary files a/assets/cartridge.blend and b/assets/cartridge.blend differ diff --git a/examples/app_grid.rs b/examples/app_grid.rs index 07d5701..969daf7 100644 --- a/examples/app_grid.rs +++ b/examples/app_grid.rs @@ -16,7 +16,7 @@ use stardust_xr_fusion::{ }; use stardust_xr_molecules::{GrabData, Grabbable}; use std::f32::consts::PI; -use tween::{QuartInOut, Tweener}; + const APP_LIMIT: usize = 300; const APP_SIZE: f32 = 0.05; diff --git a/src/xdg.rs b/src/xdg.rs index 6717fe2..cb5801c 100644 --- a/src/xdg.rs +++ b/src/xdg.rs @@ -255,15 +255,14 @@ impl DesktopFile { print!("Cache miss") } - // TODO: handle preferred_theme - if let Some(icon_path) = lookup(icon_name).with_size(preferred_px_size).find() { + if let Some(icon_path) = lookup(icon_name).with_size(preferred_px_size).with_cache().find() { if let Some(icon) = Icon::from_path(icon_path, preferred_px_size) { return Some(icon); } } for icon_size in ICON_SIZES { - if let Some(icon_path) = lookup(icon_name).with_size(icon_size).find() { + if let Some(icon_path) = lookup(icon_name).with_size(icon_size).with_cache().find() { if let Some(icon) = Icon::from_path(icon_path, preferred_px_size) { return Some(icon); }