mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 09:32:55 +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;
|
break;
|
||||||
|
|
||||||
case > 1:
|
case > 1:
|
||||||
if (settings?.State.Value == Visibility.Hidden)
|
if (settings.State.Value == Visibility.Hidden)
|
||||||
settings?.ToggleVisibility();
|
settings.ToggleVisibility();
|
||||||
|
|
||||||
settings?.SectionsContainer.ScrollTo(this);
|
settings.SectionsContainer.ScrollTo(this);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user