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:
parent
5d940ded09
commit
dfda093f4b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user