mirror of
https://github.com/osukey/osukey.git
synced 2025-05-17 03:27:21 +09:00
Fixes
This commit is contained in:
parent
c32d816f9c
commit
9de7e7bc40
@ -264,14 +264,14 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private void beatmapChanged(WorkingBeatmap beatmap)
|
private void beatmapChanged(WorkingBeatmap beatmap)
|
||||||
{
|
{
|
||||||
|
progressBar.IsEnabled = beatmap != null;
|
||||||
|
|
||||||
|
TransformDirection direction = TransformDirection.None;
|
||||||
|
|
||||||
if (current != null)
|
if (current != null)
|
||||||
{
|
{
|
||||||
progressBar.IsEnabled = beatmap != null;
|
|
||||||
|
|
||||||
bool audioEquals = beatmapBacking.Value?.BeatmapInfo?.AudioEquals(current.BeatmapInfo) ?? false;
|
bool audioEquals = beatmapBacking.Value?.BeatmapInfo?.AudioEquals(current.BeatmapInfo) ?? false;
|
||||||
|
|
||||||
TransformDirection direction;
|
|
||||||
|
|
||||||
if (audioEquals)
|
if (audioEquals)
|
||||||
direction = TransformDirection.None;
|
direction = TransformDirection.None;
|
||||||
else if (queuedDirection.HasValue)
|
else if (queuedDirection.HasValue)
|
||||||
@ -287,12 +287,12 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
direction = last > next ? TransformDirection.Prev : TransformDirection.Next;
|
direction = last > next ? TransformDirection.Prev : TransformDirection.Next;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateDisplay(beatmapBacking, direction);
|
|
||||||
queuedDirection = null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
current = beatmapBacking.Value;
|
current = beatmapBacking.Value;
|
||||||
|
|
||||||
|
updateDisplay(beatmapBacking, direction);
|
||||||
|
queuedDirection = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private ScheduledDelegate pendingBeatmapSwitch;
|
private ScheduledDelegate pendingBeatmapSwitch;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user