mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 16:27:26 +08:00
remove #nullable disable
This commit is contained in:
parent
6991195d69
commit
df1f7e2b13
@ -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.Bindables;
|
||||
@ -46,13 +44,13 @@ namespace osu.Game.Graphics.Containers
|
||||
/// </summary>
|
||||
public bool ContentDisplayed { get; private set; }
|
||||
|
||||
protected Bindable<double> UserDimLevel { get; private set; }
|
||||
protected Bindable<double> UserDimLevel { get; private set; } = null!;
|
||||
|
||||
public Bindable<float> DimAmount { get; set; } = new Bindable<float>();
|
||||
|
||||
protected Bindable<bool> LightenDuringBreaks { get; private set; }
|
||||
protected Bindable<bool> LightenDuringBreaks { get; private set; } = null!;
|
||||
|
||||
protected Bindable<bool> ShowStoryboard { get; private set; }
|
||||
protected Bindable<bool> ShowStoryboard { get; private set; } = null!;
|
||||
|
||||
private float breakLightening => LightenDuringBreaks.Value && IsBreakTime.Value ? BREAK_LIGHTEN_AMOUNT : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user