1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 06:52:55 +08:00

Improve code quality

This commit is contained in:
PC 2023-02-13 22:44:11 +03:00
parent 637b07efe6
commit 46b13f2565

View File

@ -107,10 +107,10 @@ namespace osu.Game.Overlays.Settings.Sections
break;
case > 1:
if (settings?.State.Value == Visibility.Hidden)
settings?.ToggleVisibility();
if (settings.State.Value == Visibility.Hidden)
settings.ToggleVisibility();
settings?.SectionsContainer.ScrollTo(this);
settings.SectionsContainer.ScrollTo(this);
break;
}
}