mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Enable nullability for setup screen
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
#nullable disable
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
@ -16,7 +14,7 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
{
|
||||
public abstract partial class SetupSection : Container
|
||||
{
|
||||
private FillFlowContainer flow;
|
||||
private FillFlowContainer flow = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Used to align some of the child <see cref="LabelledDrawable{T}"/>s together to achieve a grid-like look.
|
||||
@ -24,10 +22,10 @@ namespace osu.Game.Screens.Edit.Setup
|
||||
protected const float LABEL_WIDTH = 160;
|
||||
|
||||
[Resolved]
|
||||
protected OsuColour Colours { get; private set; }
|
||||
protected OsuColour Colours { get; private set; } = null!;
|
||||
|
||||
[Resolved]
|
||||
protected EditorBeatmap Beatmap { get; private set; }
|
||||
protected EditorBeatmap Beatmap { get; private set; } = null!;
|
||||
|
||||
protected override Container<Drawable> Content => flow;
|
||||
|
||||
|
Reference in New Issue
Block a user