mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
Improved LEFTand RIGHT key behaviour
This commit is contained in:
@ -57,12 +57,17 @@ namespace osu.Game.Screens
|
|||||||
beatmap.Value = localMap;
|
beatmap.Value = localMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
beatmap.ValueChanged += OnBeatmapChanged;
|
|
||||||
|
|
||||||
if (osuGame != null)
|
if (osuGame != null)
|
||||||
ruleset.BindTo(osuGame.Ruleset);
|
ruleset.BindTo(osuGame.Ruleset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void LoadComplete()
|
||||||
|
{
|
||||||
|
base.LoadComplete();
|
||||||
|
|
||||||
|
beatmap.ValueChanged += OnBeatmapChanged;
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The global Beatmap was changed.
|
/// The global Beatmap was changed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -155,7 +155,11 @@ namespace osu.Game.Screens.Select
|
|||||||
index = (index + direction + groups.Count) % groups.Count;
|
index = (index + direction + groups.Count) % groups.Count;
|
||||||
if (groups[index].State != BeatmapGroupState.Hidden)
|
if (groups[index].State != BeatmapGroupState.Hidden)
|
||||||
{
|
{
|
||||||
SelectBeatmap(direction == 1 || skipDifficulties ? groups[index].BeatmapPanels.First().Beatmap : groups[index].BeatmapPanels.Last().Beatmap);
|
if (skipDifficulties)
|
||||||
|
SelectBeatmap(groups[index].SelectedPanel != null ? groups[index].SelectedPanel.Beatmap : groups[index].BeatmapPanels.First().Beatmap);
|
||||||
|
else
|
||||||
|
SelectBeatmap(direction == 1 ? groups[index].BeatmapPanels.First().Beatmap : groups[index].BeatmapPanels.Last().Beatmap);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} while (index != startIndex);
|
} while (index != startIndex);
|
||||||
|
Reference in New Issue
Block a user