mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Cleanup external PlayButton.Playing usage
This commit is contained in:
@ -102,7 +102,11 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
updateDisplay();
|
||||
}
|
||||
|
||||
public void StopPreview() => preview.Playing.Value = false;
|
||||
public void StopPreview()
|
||||
{
|
||||
if (preview.Playing)
|
||||
preview.TriggerOnClick();
|
||||
}
|
||||
|
||||
private class DetailBox : Container
|
||||
{
|
||||
|
Reference in New Issue
Block a user