mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Move filter control property setters to load()
This commit is contained in:
parent
74a15d7424
commit
d9571b6fc9
@ -44,12 +44,7 @@ namespace osu.Game.Overlays
|
||||
private Container panelTarget;
|
||||
private FillFlowContainer<BeatmapCard> foundContent;
|
||||
|
||||
private BeatmapListingFilterControl filterControl => Header.FilterControl.With(f =>
|
||||
{
|
||||
f.TypingStarted = onTypingStarted;
|
||||
f.SearchStarted = onSearchStarted;
|
||||
f.SearchFinished = onSearchFinished;
|
||||
});
|
||||
private BeatmapListingFilterControl filterControl => Header.FilterControl;
|
||||
|
||||
public BeatmapListingOverlay()
|
||||
: base(OverlayColourScheme.Blue)
|
||||
@ -88,6 +83,10 @@ namespace osu.Game.Overlays
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
filterControl.TypingStarted = onTypingStarted;
|
||||
filterControl.SearchStarted = onSearchStarted;
|
||||
filterControl.SearchFinished = onSearchFinished;
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Loading…
Reference in New Issue
Block a user