1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 19:42:56 +08:00

Swap placements of "hold for menu" and key counter

This commit is contained in:
Salman Ahmed 2022-03-19 05:02:20 +03:00
parent c92217415b
commit 5bcb7c167c

View File

@ -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();