mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Remove hide/restore event flow
This commit is contained in:
@ -113,16 +113,6 @@ namespace osu.Game.Beatmaps
|
||||
return imported.PerformRead(s => GetWorkingBeatmap(s.Beatmaps.First()));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Fired when a single difficulty has been hidden.
|
||||
/// </summary>
|
||||
public event Action<BeatmapInfo>? BeatmapHidden;
|
||||
|
||||
/// <summary>
|
||||
/// Fired when a single difficulty has been restored.
|
||||
/// </summary>
|
||||
public event Action<BeatmapInfo>? BeatmapRestored;
|
||||
|
||||
/// <summary>
|
||||
/// Delete a beatmap difficulty.
|
||||
/// </summary>
|
||||
@ -134,8 +124,6 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
beatmapInfo.Hidden = true;
|
||||
transaction.Commit();
|
||||
|
||||
BeatmapHidden?.Invoke(beatmapInfo);
|
||||
}
|
||||
}
|
||||
|
||||
@ -150,8 +138,6 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
beatmapInfo.Hidden = false;
|
||||
transaction.Commit();
|
||||
|
||||
BeatmapRestored?.Invoke(beatmapInfo);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user