mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
fix(SkinnableAvatar): init avatar.CornerRadius
This commit is contained in:
parent
d39b8c7c23
commit
d5ba5eed88
@ -42,6 +42,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
base.LoadComplete();
|
||||
|
||||
avatar.User = gameplayState.Score.ScoreInfo.User;
|
||||
avatar.CornerRadius = CornerRadius.Value;
|
||||
CornerRadius.BindValueChanged(e => avatar.CornerRadius = e.NewValue);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user