mirror of
https://github.com/ppy/osu.git
synced 2025-01-22 07:52:56 +08:00
Fix track looping state not being reset when entering editor from song select
Closes #8432.
This commit is contained in:
parent
f414b7fbb6
commit
b1d4261402
@ -85,8 +85,6 @@ namespace osu.Game.Screens.Select
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Beatmap.Value.Track.Looping = false;
|
|
||||||
|
|
||||||
SampleConfirm?.Play();
|
SampleConfirm?.Play();
|
||||||
|
|
||||||
this.Push(player = new PlayerLoader(() => new Player()));
|
this.Push(player = new PlayerLoader(() => new Player()));
|
||||||
|
@ -572,6 +572,9 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
BeatmapOptions.Hide();
|
BeatmapOptions.Hide();
|
||||||
|
|
||||||
|
if (Beatmap.Value.Track != null)
|
||||||
|
Beatmap.Value.Track.Looping = false;
|
||||||
|
|
||||||
this.ScaleTo(1.1f, 250, Easing.InSine);
|
this.ScaleTo(1.1f, 250, Easing.InSine);
|
||||||
|
|
||||||
this.FadeOut(250);
|
this.FadeOut(250);
|
||||||
|
Loading…
Reference in New Issue
Block a user