@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user