mirror of
https://github.com/ppy/osu
synced 2024-12-27 01:12:45 +00: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