mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 23:12:55 +08:00
Swap placements of "hold for menu" and key counter
This commit is contained in:
parent
c92217415b
commit
5bcb7c167c
@ -111,8 +111,11 @@ namespace osu.Game.Screens.Play
|
|||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
KeyCounter = CreateKeyCounter(),
|
|
||||||
HoldToQuit = CreateHoldForMenuButton(),
|
HoldToQuit = CreateHoldForMenuButton(),
|
||||||
|
KeyCounter = CreateKeyCounter().With(k =>
|
||||||
|
{
|
||||||
|
k.Margin = new MarginPadding { Horizontal = 10 };
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -235,13 +238,11 @@ namespace osu.Game.Screens.Play
|
|||||||
{
|
{
|
||||||
PlayerSettingsOverlay.Show();
|
PlayerSettingsOverlay.Show();
|
||||||
ModDisplay.FadeIn(200);
|
ModDisplay.FadeIn(200);
|
||||||
KeyCounter.Margin = new MarginPadding(10) { Bottom = 30 };
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
PlayerSettingsOverlay.Hide();
|
PlayerSettingsOverlay.Hide();
|
||||||
ModDisplay.Delay(2000).FadeOut(200);
|
ModDisplay.Delay(2000).FadeOut(200);
|
||||||
KeyCounter.Margin = new MarginPadding(10);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
|
Loading…
Reference in New Issue
Block a user