mirror of https://github.com/ppy/osu
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 @@ public MenuState State
|
|||
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