mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Enable nullability for editor components
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 System.Linq;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
@ -25,10 +23,10 @@ namespace osu.Game.Screens.Edit.Components
|
||||
{
|
||||
public partial class PlaybackControl : BottomBarContainer
|
||||
{
|
||||
private IconButton playButton;
|
||||
private IconButton playButton = null!;
|
||||
|
||||
[Resolved]
|
||||
private EditorClock editorClock { get; set; }
|
||||
private EditorClock editorClock { get; set; } = null!;
|
||||
|
||||
private readonly BindableNumber<double> freqAdjust = new BindableDouble(1);
|
||||
|
||||
@ -108,7 +106,7 @@ namespace osu.Game.Screens.Edit.Components
|
||||
|
||||
protected override TabItem<double> CreateTabItem(double value) => new PlaybackTabItem(value);
|
||||
|
||||
protected override Dropdown<double> CreateDropdown() => null;
|
||||
protected override Dropdown<double> CreateDropdown() => null!;
|
||||
|
||||
public PlaybackTabControl()
|
||||
{
|
||||
|
Reference in New Issue
Block a user