mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Fix broken test case
This commit is contained in:
parent
956fb9912d
commit
f0b7b2e1c4
@ -24,7 +24,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
|||||||
private readonly FillFlowContainer<DrawableRoom> roomFlow;
|
private readonly FillFlowContainer<DrawableRoom> roomFlow;
|
||||||
public IReadOnlyList<DrawableRoom> Rooms => roomFlow;
|
public IReadOnlyList<DrawableRoom> Rooms => roomFlow;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved(CanBeNull = true)]
|
||||||
private Bindable<FilterCriteria> filter { get; set; }
|
private Bindable<FilterCriteria> filter { get; set; }
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Multi.Lounge.Components
|
|||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
filter.BindValueChanged(f => Filter(f.NewValue), true);
|
filter?.BindValueChanged(f => Filter(f.NewValue), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
private FilterCriteria currentFilter;
|
private FilterCriteria currentFilter;
|
||||||
|
Loading…
Reference in New Issue
Block a user