1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 07:32:55 +08:00

fix(SkinnableAvatar): init avatar.CornerRadius

This commit is contained in:
tsrk 2023-03-03 23:47:22 +00:00
parent d39b8c7c23
commit d5ba5eed88
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -42,6 +42,7 @@ namespace osu.Game.Screens.Play.HUD
base.LoadComplete(); base.LoadComplete();
avatar.User = gameplayState.Score.ScoreInfo.User; avatar.User = gameplayState.Score.ScoreInfo.User;
avatar.CornerRadius = CornerRadius.Value;
CornerRadius.BindValueChanged(e => avatar.CornerRadius = e.NewValue); CornerRadius.BindValueChanged(e => avatar.CornerRadius = e.NewValue);
} }