1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 22:34:09 +08:00

Revert "Swap placements of "hold for menu" and key counter"

This reverts commit 5bcb7c167c.
This commit is contained in:
Salman Ahmed 2022-03-19 08:08:07 +03:00
parent ad9b119e3d
commit b99541fb5e

View File

@ -111,11 +111,8 @@ 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 };
}),
} }
} }
}; };
@ -238,11 +235,13 @@ 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();