mirror of
https://github.com/osukey/osukey.git
synced 2025-06-03 20:07:18 +09:00
Merge pull request #15678 from peppy/fix-another-test-nullref
Fix potential null reference in `FadeAccessibleBackground` test class
This commit is contained in:
commit
1aa7f681cf
@ -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…
x
Reference in New Issue
Block a user