Skip to content

Commit

Permalink
Merge pull request #370 from peppy/general-fixes
Browse files Browse the repository at this point in the history
General fixes.
  • Loading branch information
Tom94 authored Feb 18, 2017
2 parents b92726c + c119410 commit a536953
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions osu.Game/Overlays/Options/Sidebar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public SidebarScrollContainer()
{
Content.Anchor = Anchor.CentreLeft;
Content.Origin = Anchor.CentreLeft;
RelativeSizeAxes = Axes.Both;
}
}
}
Expand Down
4 changes: 0 additions & 4 deletions osu.Game/Screens/Menu/ButtonSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ public partial class ButtonSystem : Container, IStateful<MenuState>
public Action OnChart;
public Action OnTest;

private SampleChannel sampleOsuClick;

private Toolbar toolbar;

private FlowContainerWithOrigin buttonFlow;
Expand Down Expand Up @@ -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;
}

Expand Down Expand Up @@ -181,7 +178,6 @@ private void onOsuLogo()
switch (state)
{
case MenuState.Initial:
sampleOsuClick.Play();
State = MenuState.TopLevel;
return;
case MenuState.TopLevel:
Expand Down

0 comments on commit a536953

Please sign in to comment.