PreviewTrack.Owner

This commit is contained in:
Roman Kapustin
2018-06-01 21:06:37 +03:00
parent 572c3f5189
commit 88ac427ba6
5 changed files with 26 additions and 6 deletions

View File

@ -302,7 +302,8 @@ namespace osu.Game.Overlays
protected override void PopOut()
{
previewTrackManager.CurrentTrack?.Stop();
if (previewTrackManager.CurrentTrack?.Owner == this)
previewTrackManager.CurrentTrack?.Stop();
base.PopOut();
}