mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Ensure close button component is not stored as a Drawable
This commit is contained in:
parent
932442e242
commit
4015042e36
@ -34,7 +34,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
||||
private Box hoverBox = null!;
|
||||
private Box selectBox = null!;
|
||||
private OsuSpriteText text = null!;
|
||||
private Drawable? close;
|
||||
private ChannelListItemCloseButton? close;
|
||||
|
||||
[Resolved]
|
||||
private Bindable<Channel> selectedChannel { get; set; } = null!;
|
||||
@ -83,7 +83,7 @@ namespace osu.Game.Overlays.Chat.ChannelList
|
||||
},
|
||||
Content = new[]
|
||||
{
|
||||
new[]
|
||||
new Drawable?[]
|
||||
{
|
||||
createIcon(),
|
||||
text = new OsuSpriteText
|
||||
|
Loading…
Reference in New Issue
Block a user