Fix potential null reference in `FadeAccessibleBackground` test class

This commit is contained in:
Dean Herbert 2021-11-19 14:03:07 +09:00
parent c6c6b04f2b
commit 6dc6ca1bbb
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ private class FadeAccessibleBackground : BackgroundScreenBeatmap
public float CurrentDim => dimmable.DimLevel;
public Vector2 CurrentBlur => Background.BlurSigma;
public Vector2 CurrentBlur => Background?.BlurSigma ?? Vector2.Zero;
private TestDimmableBackground dimmable;