mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Merge remote-tracking branch 'refs/remotes/ppy/master' into connection_fix
This commit is contained in:
Submodule osu-framework updated: 28c4acbb81...697d8b7e95
@ -74,6 +74,7 @@ namespace osu.Game.Overlays.Options
|
|||||||
{
|
{
|
||||||
Content.Anchor = Anchor.CentreLeft;
|
Content.Anchor = Anchor.CentreLeft;
|
||||||
Content.Origin = Anchor.CentreLeft;
|
Content.Origin = Anchor.CentreLeft;
|
||||||
|
RelativeSizeAxes = Axes.Both;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
public Action OnChart;
|
public Action OnChart;
|
||||||
public Action OnTest;
|
public Action OnTest;
|
||||||
|
|
||||||
private SampleChannel sampleOsuClick;
|
|
||||||
|
|
||||||
private Toolbar toolbar;
|
private Toolbar toolbar;
|
||||||
|
|
||||||
private FlowContainerWithOrigin buttonFlow;
|
private FlowContainerWithOrigin buttonFlow;
|
||||||
@ -122,7 +120,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
private void load(AudioManager audio, OsuGame game = null)
|
private void load(AudioManager audio, OsuGame game = null)
|
||||||
{
|
{
|
||||||
sampleOsuClick = audio.Sample.Get(@"Menu/menuhit");
|
|
||||||
toolbar = game?.Toolbar;
|
toolbar = game?.Toolbar;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -181,7 +178,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case MenuState.Initial:
|
case MenuState.Initial:
|
||||||
sampleOsuClick.Play();
|
|
||||||
State = MenuState.TopLevel;
|
State = MenuState.TopLevel;
|
||||||
return;
|
return;
|
||||||
case MenuState.TopLevel:
|
case MenuState.TopLevel:
|
||||||
|
Reference in New Issue
Block a user