mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 17:37:23 +09:00
Load osu!direct overlay to "newest maps" tab by default
This commit is contained in:
parent
3fd4a97a19
commit
ec50834e98
@ -21,7 +21,7 @@ namespace osu.Game.Overlays.Direct
|
|||||||
|
|
||||||
public Header()
|
public Header()
|
||||||
{
|
{
|
||||||
Tabs.Current.Value = DirectTab.Search;
|
Tabs.Current.Value = DirectTab.NewestMaps;
|
||||||
Tabs.Current.TriggerChange();
|
Tabs.Current.TriggerChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -251,7 +251,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
if (Header.Tabs.Current.Value == DirectTab.Search && (Filter.Search.Text == string.Empty || currentQuery == string.Empty)) return;
|
if (Header.Tabs.Current.Value == DirectTab.Search && (Filter.Search.Text == string.Empty || currentQuery == string.Empty)) return;
|
||||||
|
|
||||||
getSetsRequest = new GetBeatmapSetsRequest(currentQuery,
|
getSetsRequest = new GetBeatmapSetsRequest(currentQuery.Value ?? string.Empty,
|
||||||
((FilterControl)Filter).Ruleset.Value,
|
((FilterControl)Filter).Ruleset.Value,
|
||||||
Filter.DisplayStyleControl.Dropdown.Current.Value,
|
Filter.DisplayStyleControl.Dropdown.Current.Value,
|
||||||
Filter.Tabs.Current.Value); //todo: sort direction (?)
|
Filter.Tabs.Current.Value); //todo: sort direction (?)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user