mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Contract sidebar on click
Also makes queueing of expand more correct.
This commit is contained in:
@ -96,7 +96,11 @@ namespace osu.Game.Overlays
|
||||
new SidebarButton
|
||||
{
|
||||
Section = section,
|
||||
Action = s => sectionsContainer.ScrollTo(s),
|
||||
Action = s =>
|
||||
{
|
||||
sectionsContainer.ScrollTo(s);
|
||||
sidebar.State = ExpandedState.Contracted;
|
||||
},
|
||||
}
|
||||
).ToArray()
|
||||
}
|
||||
|
Reference in New Issue
Block a user