Handle scrolling in SectionsContainer.

This commit is contained in:
Huo Yaoyuan
2017-06-25 10:06:54 +08:00
parent 674e2a4395
commit 18295a9b97
3 changed files with 19 additions and 10 deletions

View File

@ -93,7 +93,7 @@ namespace osu.Game.Overlays
new SidebarButton
{
Section = section,
Action = sectionsContainer.ScrollContainer.ScrollIntoView,
Action = sectionsContainer.ScrollToTop
}
).ToArray()
}
@ -162,7 +162,6 @@ namespace osu.Game.Overlays
public SettingsSectionsContainer()
{
ScrollContainer.ScrollbarVisible = false;
HeaderBackground = new Box
{
Colour = Color4.Black,