1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 02:13:21 +08:00

Display all difficulties from overriding selection

This commit is contained in:
Dean Herbert 2020-03-04 22:59:49 +09:00
parent a62550b323
commit f8776a0be4
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ namespace osu.Game.Screens.Select.Carousel
{
base.Filter(criteria);
if (Beatmap.Equals(criteria.SelectedBeatmap))
if (Beatmap.BeatmapSet.Equals(criteria.SelectedBeatmapSet))
{
// bypass filtering for selected beatmap
Filtered.Value = false;

View File

@ -15,7 +15,7 @@ namespace osu.Game.Screens.Select
public GroupMode Group;
public SortMode Sort;
public BeatmapInfo SelectedBeatmap;
public BeatmapSetInfo SelectedBeatmapSet;
public OptionalRange<double> StarDifficulty;
public OptionalRange<float> ApproachRate;

View File

@ -395,7 +395,7 @@ namespace osu.Game.Screens.Select
// we still want to temporarily show the new beatmap, bypassing filters.
// This will be undone the next time the user changes the filter.
var criteria = FilterControl.CreateCriteria();
criteria.SelectedBeatmap = e.NewValue.BeatmapInfo;
criteria.SelectedBeatmapSet = e.NewValue.BeatmapInfo.BeatmapSet;
Carousel.Filter(criteria);
}
}