mirror of
https://github.com/osukey/osukey.git
synced 2025-08-01 21:58:46 +09:00
Fix potential null reference on DirectPanel unbind
This commit is contained in:
@ -35,7 +35,7 @@ namespace osu.Game.Overlays.Direct
|
||||
private BeatmapSetOverlay beatmapSetOverlay;
|
||||
|
||||
public PreviewTrack Preview => PlayButton.Preview;
|
||||
public Bindable<bool> PreviewPlaying => PlayButton.Playing;
|
||||
public Bindable<bool> PreviewPlaying => PlayButton?.Playing;
|
||||
|
||||
protected abstract PlayButton PlayButton { get; }
|
||||
protected abstract Box PreviewBar { get; }
|
||||
|
Reference in New Issue
Block a user