mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Enable nullability for timing 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 System;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Audio;
|
||||
@ -23,10 +21,10 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
|
||||
private readonly Drawable button;
|
||||
|
||||
private Sample sample;
|
||||
private Sample? sample;
|
||||
|
||||
public Action RepeatBegan;
|
||||
public Action RepeatEnded;
|
||||
public Action? RepeatBegan;
|
||||
public Action? RepeatEnded;
|
||||
|
||||
/// <summary>
|
||||
/// An additive modifier for the frequency of the sample played on next actuation.
|
||||
@ -61,7 +59,7 @@ namespace osu.Game.Screens.Edit.Timing
|
||||
base.OnMouseUp(e);
|
||||
}
|
||||
|
||||
private ScheduledDelegate adjustDelegate;
|
||||
private ScheduledDelegate? adjustDelegate;
|
||||
private double adjustDelay = initial_delay;
|
||||
|
||||
private void beginRepeat()
|
||||
|
Reference in New Issue
Block a user