Add non-null assertion missing in `BeatmapScoreRow`

This commit is contained in:
Dean Herbert 2022-07-13 18:48:12 +09:00
parent 5c6fa2341f
commit 467f83b603
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#nullable disable
using System.Diagnostics;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
@ -135,6 +136,8 @@ private class BeatmapScoreRow : CompositeDrawable
{
public BeatmapScoreRow(SeedingBeatmap beatmap)
{
Debug.Assert(beatmap.Beatmap != null);
RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y;