mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 16:03:01 +08:00
Pass correct params to UpdateableAvatar
ctor in ChannelListItem
This commit is contained in:
parent
ba5a43b526
commit
f3702fbefb
@ -157,7 +157,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
|||||||
if (channel.Type != ChannelType.PM)
|
if (channel.Type != ChannelType.PM)
|
||||||
return Drawable.Empty();
|
return Drawable.Empty();
|
||||||
|
|
||||||
return new UpdateableAvatar(channel.Users.First(), false, false, true)
|
return new UpdateableAvatar(channel.Users.First(), isInteractive: false)
|
||||||
{
|
{
|
||||||
Size = new Vector2(20),
|
Size = new Vector2(20),
|
||||||
Margin = new MarginPadding { Right = 5 },
|
Margin = new MarginPadding { Right = 5 },
|
||||||
|
Loading…
Reference in New Issue
Block a user