From ebc38917dcab14c8e74874f0a838ff4b26b1ab27 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 18 Feb 2017 22:29:20 +0900 Subject: [PATCH 1/2] Fix options sidebar not displaying correclty. --- osu.Game/Overlays/Options/Sidebar.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Overlays/Options/Sidebar.cs b/osu.Game/Overlays/Options/Sidebar.cs index f3fe3e168369..ffc3d04756fa 100644 --- a/osu.Game/Overlays/Options/Sidebar.cs +++ b/osu.Game/Overlays/Options/Sidebar.cs @@ -74,6 +74,7 @@ public SidebarScrollContainer() { Content.Anchor = Anchor.CentreLeft; Content.Origin = Anchor.CentreLeft; + RelativeSizeAxes = Axes.Both; } } } From c1194102b1716800d2b00bbbaa8ef8f330b442ed Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Sat, 18 Feb 2017 22:33:24 +0900 Subject: [PATCH 2/2] Remove second sample playback when clicking osu! logo. --- osu.Game/Screens/Menu/ButtonSystem.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/osu.Game/Screens/Menu/ButtonSystem.cs b/osu.Game/Screens/Menu/ButtonSystem.cs index 8464ca92efae..a20363847891 100644 --- a/osu.Game/Screens/Menu/ButtonSystem.cs +++ b/osu.Game/Screens/Menu/ButtonSystem.cs @@ -32,8 +32,6 @@ public partial class ButtonSystem : Container, IStateful public Action OnChart; public Action OnTest; - private SampleChannel sampleOsuClick; - private Toolbar toolbar; private FlowContainerWithOrigin buttonFlow; @@ -122,7 +120,6 @@ public ButtonSystem() [BackgroundDependencyLoader(true)] private void load(AudioManager audio, OsuGame game = null) { - sampleOsuClick = audio.Sample.Get(@"Menu/menuhit"); toolbar = game?.Toolbar; } @@ -181,7 +178,6 @@ private void onOsuLogo() switch (state) { case MenuState.Initial: - sampleOsuClick.Play(); State = MenuState.TopLevel; return; case MenuState.TopLevel: