mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +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 osu.Framework.Allocation;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
@ -38,7 +36,7 @@ namespace osu.Game.Screens.Edit.Components.Menus
|
||||
});
|
||||
}
|
||||
|
||||
protected override Dropdown<EditorScreenMode> CreateDropdown() => null;
|
||||
protected override Dropdown<EditorScreenMode> CreateDropdown() => null!;
|
||||
|
||||
protected override TabItem<EditorScreenMode> CreateTabItem(EditorScreenMode value) => new TabItem(value);
|
||||
|
||||
|
Reference in New Issue
Block a user