mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Stop any playing preview when closing the direct overlay
Resolves #1925
This commit is contained in:
@ -313,6 +313,14 @@ namespace osu.Game.Overlays
|
|||||||
api.Queue(getSetsRequest);
|
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;
|
private int distinctCount(List<string> list) => list.Distinct().ToArray().Length;
|
||||||
|
|
||||||
public class ResultCounts
|
public class ResultCounts
|
||||||
|
Reference in New Issue
Block a user