mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 23:05:37 +08:00
Mark as non-null and move current bind to BDL instead
This commit is contained in:
parent
2764ad90ea
commit
f528488aa2
@ -4,6 +4,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using JetBrains.Annotations;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
@ -23,8 +24,11 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
public BeatmapSearchMultipleSelectionFilterRow(LocalisableString header)
|
||||
: base(header)
|
||||
{
|
||||
// ReSharper disable once PossibleNullReferenceException
|
||||
// see https://youtrack.jetbrains.com/issue/RSRP-486768
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Current.BindTo(filter.Current);
|
||||
}
|
||||
|
||||
@ -33,6 +37,7 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
/// <summary>
|
||||
/// Creates a filter control that can be used to simultaneously select multiple values of type <typeparamref name="T"/>.
|
||||
/// </summary>
|
||||
[NotNull]
|
||||
protected virtual MultipleSelectionFilter CreateMultipleSelectionFilter() => new MultipleSelectionFilter();
|
||||
|
||||
protected class MultipleSelectionFilter : FillFlowContainer<MultipleSelectionFilterTabItem>
|
||||
|
Loading…
Reference in New Issue
Block a user