diff --git a/osu-framework b/osu-framework index 28c4acbb81..697d8b7e95 160000 --- a/osu-framework +++ b/osu-framework @@ -1 +1 @@ -Subproject commit 28c4acbb818d7be0ff66c600daacde9d91a99c6e +Subproject commit 697d8b7e9530ba7914d9c78012329ce1559e3681 diff --git a/osu.Game/Overlays/Options/Sidebar.cs b/osu.Game/Overlays/Options/Sidebar.cs index f3fe3e1683..ffc3d04756 100644 --- a/osu.Game/Overlays/Options/Sidebar.cs +++ b/osu.Game/Overlays/Options/Sidebar.cs @@ -74,6 +74,7 @@ namespace osu.Game.Overlays.Options { Content.Anchor = Anchor.CentreLeft; Content.Origin = Anchor.CentreLeft; + RelativeSizeAxes = Axes.Both; } } } diff --git a/osu.Game/Screens/Menu/ButtonSystem.cs b/osu.Game/Screens/Menu/ButtonSystem.cs index 8464ca92ef..a203638478 100644 --- a/osu.Game/Screens/Menu/ButtonSystem.cs +++ b/osu.Game/Screens/Menu/ButtonSystem.cs @@ -32,8 +32,6 @@ namespace osu.Game.Screens.Menu public Action OnChart; public Action OnTest; - private SampleChannel sampleOsuClick; - private Toolbar toolbar; private FlowContainerWithOrigin buttonFlow; @@ -122,7 +120,6 @@ namespace osu.Game.Screens.Menu [BackgroundDependencyLoader(true)] private void load(AudioManager audio, OsuGame game = null) { - sampleOsuClick = audio.Sample.Get(@"Menu/menuhit"); toolbar = game?.Toolbar; } @@ -181,7 +178,6 @@ namespace osu.Game.Screens.Menu switch (state) { case MenuState.Initial: - sampleOsuClick.Play(); State = MenuState.TopLevel; return; case MenuState.TopLevel: