mirror of
https://github.com/ppy/osu.git
synced 2025-02-10 11:03:21 +08:00
Merge pull request #8433 from peppy/fix-song-select-looping
Fix track looping state not being reset when entering editor from song select
This commit is contained in:
commit
791bf95396
@ -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