mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 21:43:04 +08:00
Stop any playing preview when closing the direct overlay
Resolves #1925
This commit is contained in:
parent
95a1556376
commit
7ceed8b5eb
@ -313,6 +313,14 @@ namespace osu.Game.Overlays
|
||||
api.Queue(getSetsRequest);
|
||||
}
|
||||
|
||||
protected override void PopOut()
|
||||
{
|
||||
base.PopOut();
|
||||
|
||||
if (playing != null)
|
||||
playing.PreviewPlaying.Value = false;
|
||||
}
|
||||
|
||||
private int distinctCount(List<string> list) => list.Distinct().ToArray().Length;
|
||||
|
||||
public class ResultCounts
|
||||
|
Loading…
Reference in New Issue
Block a user