dave: prepare for android

This commit is contained in:
William Casarin
2025-03-26 09:20:46 -07:00
parent cb7a3adacf
commit 4469918fd2
8 changed files with 70 additions and 211 deletions

View File

@@ -394,8 +394,8 @@ impl Dave {
});
if let Some(avatar) = &mut self.avatar {
let avatar_size = Vec2::splat(100.0);
let pos = Vec2::splat(10.0).to_pos2();
let avatar_size = Vec2::splat(300.0);
let pos = Vec2::splat(100.0).to_pos2();
let pos = Rect::from_min_max(pos, pos + avatar_size);
avatar.render(pos, ui);
}