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

refactor: SkinnableAvatar to PlayerAvatar

This commit is contained in:
tsrk 2023-03-05 23:09:02 +00:00
parent d5ba5eed88
commit 082bfe3621
No known key found for this signature in database
GPG Key ID: EBD46BB3049B56D6

View File

@ -12,7 +12,7 @@ using osuTK;
namespace osu.Game.Screens.Play.HUD
{
public partial class SkinnableAvatar : CompositeDrawable, ISerialisableDrawable
public partial class PlayerAvatar : CompositeDrawable, ISerialisableDrawable
{
[SettingSource("Corner radius", "How much the edges should be rounded.")]
public new BindableFloat CornerRadius { get; set; } = new BindableFloat
@ -27,7 +27,7 @@ namespace osu.Game.Screens.Play.HUD
private readonly UpdateableAvatar avatar;
public SkinnableAvatar()
public PlayerAvatar()
{
Size = new Vector2(128f);
InternalChild = avatar = new UpdateableAvatar(isInteractive: false)