dave: rotation tweaks

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-03-24 14:16:09 -07:00
parent 343f2ce410
commit 32f7d484f8
2 changed files with 13 additions and 7 deletions

View File

@@ -107,7 +107,7 @@ impl Dave {
});
if let Some(avatar) = &mut self.avatar {
let avatar_size = Vec2::splat(400.0);
let avatar_size = Vec2::splat(200.0);
let pos = Vec2::splat(100.0).to_pos2();
let pos = Rect::from_min_max(pos, pos + avatar_size);
avatar.render(pos, ui);