mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 01:02:56 +08:00
Fix null reference in headless tests
This commit is contained in:
parent
f9d2c30c3e
commit
f46a9d683a
@ -244,7 +244,7 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
||||
else
|
||||
displayDropdown.Hide();
|
||||
|
||||
if (host.Window.SafeAreaPadding.Value.Total != Vector2.Zero)
|
||||
if (host.Window?.SafeAreaPadding.Value.Total != Vector2.Zero)
|
||||
safeAreaConsiderationsCheckbox.Show();
|
||||
else
|
||||
safeAreaConsiderationsCheckbox.Hide();
|
||||
|
Loading…
Reference in New Issue
Block a user