mirror of
https://github.com/osukey/osukey.git
synced 2025-05-06 22:27:25 +09:00
Use existing BeatmapSetsChanged
action
This commit is contained in:
parent
7f5b99c91b
commit
c7dea71793
@ -49,11 +49,6 @@ namespace osu.Game.Screens.Select
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public Action? BeatmapSetsChanged;
|
public Action? BeatmapSetsChanged;
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Triggered when the deleted <see cref="BeatmapSets"/> change.
|
|
||||||
/// </summary>
|
|
||||||
public Action? DeletedBeatmapSetsChanged;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Triggered after filter conditions have finished being applied to the model hierarchy.
|
/// Triggered after filter conditions have finished being applied to the model hierarchy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -359,7 +354,7 @@ namespace osu.Game.Screens.Select
|
|||||||
if (!Scroll.UserScrolling)
|
if (!Scroll.UserScrolling)
|
||||||
ScrollToSelected(true);
|
ScrollToSelected(true);
|
||||||
|
|
||||||
DeletedBeatmapSetsChanged?.Invoke();
|
BeatmapSetsChanged?.Invoke();
|
||||||
});
|
});
|
||||||
|
|
||||||
public void UpdateBeatmapSet(BeatmapSetInfo beatmapSet) => Schedule(() =>
|
public void UpdateBeatmapSet(BeatmapSetInfo beatmapSet) => Schedule(() =>
|
||||||
|
@ -162,7 +162,6 @@ namespace osu.Game.Screens.Select
|
|||||||
BleedBottom = Footer.HEIGHT,
|
BleedBottom = Footer.HEIGHT,
|
||||||
SelectionChanged = updateSelectedBeatmap,
|
SelectionChanged = updateSelectedBeatmap,
|
||||||
BeatmapSetsChanged = carouselBeatmapsLoaded,
|
BeatmapSetsChanged = carouselBeatmapsLoaded,
|
||||||
DeletedBeatmapSetsChanged = updateVisibleBeatmapCount,
|
|
||||||
FilterApplied = updateVisibleBeatmapCount,
|
FilterApplied = updateVisibleBeatmapCount,
|
||||||
GetRecommendedBeatmap = s => recommender?.GetRecommendedBeatmap(s),
|
GetRecommendedBeatmap = s => recommender?.GetRecommendedBeatmap(s),
|
||||||
}, c => carouselContainer.Child = c);
|
}, c => carouselContainer.Child = c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user