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:
parent
a62550b323
commit
f8776a0be4
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user