mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 07:33:20 +08:00
Improve code quality
This commit is contained in:
parent
637b07efe6
commit
46b13f2565
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user