mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:33:21 +08:00
Merge pull request #1479 from peppy/fix-toolbar-display
Fix toolbar not appearing at main menu
This commit is contained in:
commit
8a8e6269ad
@ -263,17 +263,15 @@ namespace osu.Game.Screens.Menu
|
||||
logo.ScaleTo(0.5f, 200, Easing.In);
|
||||
|
||||
trackingPosition = false;
|
||||
|
||||
logo
|
||||
.MoveTo(iconTrackingPosition, lastState == MenuState.EnteringMode ? 0 : 200, Easing.In)
|
||||
.OnComplete(o =>
|
||||
{
|
||||
trackingPosition = true;
|
||||
|
||||
if (logo.Scale.X > 0.5f)
|
||||
{
|
||||
o.Impact();
|
||||
toolbar?.Show();
|
||||
}
|
||||
o.Impact();
|
||||
toolbar?.Show();
|
||||
});
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user