Transition code cleanup

This commit is contained in:
DrabWeb
2017-05-26 03:46:50 -03:00
parent d29ebb139f
commit 21e900df73
2 changed files with 19 additions and 10 deletions

View File

@ -17,12 +17,12 @@ namespace osu.Game.Overlays.Chat
public readonly FillFlowContainer<ChannelListItem> ChannelFlow;
public IEnumerable<IFilterable> FilterableChildren => ChannelFlow.Children.OfType<ChannelListItem>();
public string[] FilterTerms => new[] { Header };
public bool MatchingCurrentFilter
{
public IEnumerable<IFilterable> FilterableChildren => ChannelFlow.Children.OfType<ChannelListItem>();
public string[] FilterTerms => new[] { Header };
public bool MatchingCurrentFilter
{
set
{
{
FadeTo(value ? 1f : 0f, 100);
}
}
@ -38,7 +38,6 @@ namespace osu.Game.Overlays.Chat
set { ChannelFlow.Children = value.Select(c => new ChannelListItem { Channel = c }); }
}
public ChannelSection()
{
RelativeSizeAxes = Axes.X;