mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Add basic test for difficulty switching
This commit is contained in:
@ -10,9 +10,12 @@ namespace osu.Game.Screens.Edit.Components.Menus
|
||||
{
|
||||
public class DifficultyMenuItem : StatefulMenuItem<bool>
|
||||
{
|
||||
public BeatmapInfo Beatmap { get; }
|
||||
|
||||
public DifficultyMenuItem(BeatmapInfo beatmapInfo, bool selected, Action<BeatmapInfo> difficultyChangeFunc)
|
||||
: base(beatmapInfo.Version ?? "(unnamed)", null)
|
||||
{
|
||||
Beatmap = beatmapInfo;
|
||||
State.Value = selected;
|
||||
|
||||
if (!selected)
|
||||
|
Reference in New Issue
Block a user