mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 02:13:21 +08:00
Stop DirectOverlay preview on search update
This commit is contained in:
parent
3033294df1
commit
ab6699b1fb
@ -273,6 +273,8 @@ namespace osu.Game.Overlays
|
||||
|
||||
if (Header.Tabs.Current.Value == DirectTab.Search && (Filter.Search.Text == string.Empty || currentQuery == string.Empty)) return;
|
||||
|
||||
previewTrackManager.CurrentTrack?.Stop(this);
|
||||
|
||||
getSetsRequest = new SearchBeatmapSetsRequest(currentQuery.Value ?? string.Empty,
|
||||
((FilterControl)Filter).Ruleset.Value,
|
||||
Filter.DisplayStyleControl.Dropdown.Current.Value,
|
||||
|
Loading…
Reference in New Issue
Block a user