1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-09 16:12:56 +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:
Dan Balasescu 2020-03-25 19:21:18 +09:00 committed by GitHub
commit 791bf95396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -85,8 +85,6 @@ namespace osu.Game.Screens.Select
}
}
Beatmap.Value.Track.Looping = false;
SampleConfirm?.Play();
this.Push(player = new PlayerLoader(() => new Player()));

View File

@ -572,6 +572,9 @@ namespace osu.Game.Screens.Select
BeatmapOptions.Hide();
if (Beatmap.Value.Track != null)
Beatmap.Value.Track.Looping = false;
this.ScaleTo(1.1f, 250, Easing.InSine);
this.FadeOut(250);