This commit is contained in:
DrabWeb 2017-05-26 04:11:45 -03:00
parent ae96ef08f7
commit 38d0138978
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ namespace osu.Game.Overlays.Chat
public readonly FillFlowContainer<ChannelListItem> ChannelFlow;
public IEnumerable<IFilterable> FilterableChildren => ChannelFlow.Children.OfType<ChannelListItem>();
public IEnumerable<IFilterable> FilterableChildren => ChannelFlow.Children;
public string[] FilterTerms => new[] { Header };
public bool MatchingCurrentFilter
{

View File

@ -245,7 +245,7 @@ namespace osu.Game.Overlays
addChannel(channels.Find(c => c.Name == @"#osu"));
addChannel(channels.Find(c => c.Name == @"#lobby"));
channelSelection.OnRequestJoin = channel => addChannel(channel);
channelSelection.OnRequestJoin = addChannel;
channelSelection.Sections = new[]
{
new ChannelSection