mirror of
https://github.com/osukey/osukey.git
synced 2025-05-09 23:57:18 +09: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[]
|
new[]
|
||||||
{
|
{
|
||||||
createAvatar(),
|
createIcon(),
|
||||||
new ControlItemText(channel)
|
new ControlItemText(channel)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
@ -133,7 +133,7 @@ namespace osu.Game.Overlays.Chat.ChannelControl
|
|||||||
base.OnHoverLost(e);
|
base.OnHoverLost(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
private Drawable createAvatar()
|
private Drawable createIcon()
|
||||||
{
|
{
|
||||||
if (channel.Type != ChannelType.PM)
|
if (channel.Type != ChannelType.PM)
|
||||||
return Drawable.Empty();
|
return Drawable.Empty();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user