1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 12:02:55 +08:00

Rename icon creation method

This commit is contained in:
Dean Herbert 2022-03-18 14:03:52 +09:00
parent 5d940ded09
commit dfda093f4b

View File

@ -76,7 +76,7 @@ namespace osu.Game.Overlays.Chat.ChannelControl
{
new[]
{
createAvatar(),
createIcon(),
new ControlItemText(channel)
{
Anchor = Anchor.CentreLeft,
@ -133,7 +133,7 @@ namespace osu.Game.Overlays.Chat.ChannelControl
base.OnHoverLost(e);
}
private Drawable createAvatar()
private Drawable createIcon()
{
if (channel.Type != ChannelType.PM)
return Drawable.Empty();