mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 17:07:38 +08:00
Fix potential null reference in FadeAccessibleBackground
test class
This commit is contained in:
parent
c6c6b04f2b
commit
6dc6ca1bbb
@ -428,7 +428,7 @@ namespace osu.Game.Tests.Visual.Background
|
||||
|
||||
public float CurrentDim => dimmable.DimLevel;
|
||||
|
||||
public Vector2 CurrentBlur => Background.BlurSigma;
|
||||
public Vector2 CurrentBlur => Background?.BlurSigma ?? Vector2.Zero;
|
||||
|
||||
private TestDimmableBackground dimmable;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user