mirror of https://github.com/ppy/osu
beatmap can not be null in BeatmapPanel.cs
This commit is contained in:
parent
289a1346fc
commit
dd3874daa8
|
@ -73,6 +73,9 @@ protected override void ApplyState(PanelSelectedState last = PanelSelectedState.
|
|||
|
||||
public BeatmapPanel(BeatmapInfo beatmap)
|
||||
{
|
||||
if (beatmap == null)
|
||||
throw new ArgumentNullException(nameof(beatmap));
|
||||
|
||||
Beatmap = beatmap;
|
||||
Height *= 0.60f;
|
||||
|
||||
|
|
Loading…
Reference in New Issue