1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 10:42:55 +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,
Children = new Drawable[]
{
KeyCounter = CreateKeyCounter(),
HoldToQuit = CreateHoldForMenuButton(),
KeyCounter = CreateKeyCounter().With(k =>
{
k.Margin = new MarginPadding { Horizontal = 10 };
}),
}
}
};
@ -235,13 +238,11 @@ namespace osu.Game.Screens.Play
{
PlayerSettingsOverlay.Show();
ModDisplay.FadeIn(200);
KeyCounter.Margin = new MarginPadding(10) { Bottom = 30 };
}
else
{
PlayerSettingsOverlay.Hide();
ModDisplay.Delay(2000).FadeOut(200);
KeyCounter.Margin = new MarginPadding(10);
}
updateVisibility();