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:
parent
c92217415b
commit
5bcb7c167c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user