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:
parent
d5ba5eed88
commit
082bfe3621
@ -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)
|
Loading…
Reference in New Issue
Block a user