mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 20:13:22 +08:00
Unindent
This commit is contained in:
parent
4ff803d11d
commit
e48b17fb0d
@ -328,18 +328,18 @@ namespace osu.Game.Screens.Menu
|
|||||||
case MenuState.Initial:
|
case MenuState.Initial:
|
||||||
logoDelayedAction?.Cancel();
|
logoDelayedAction?.Cancel();
|
||||||
logoDelayedAction = Scheduler.AddDelayed(() =>
|
logoDelayedAction = Scheduler.AddDelayed(() =>
|
||||||
{
|
{
|
||||||
logoTracking = false;
|
logoTracking = false;
|
||||||
|
|
||||||
hideOverlaysOnEnter.Value = true;
|
hideOverlaysOnEnter.Value = true;
|
||||||
allowOpeningOverlays.Value = false;
|
allowOpeningOverlays.Value = false;
|
||||||
|
|
||||||
logo.ClearTransforms(targetMember: nameof(Position));
|
logo.ClearTransforms(targetMember: nameof(Position));
|
||||||
logo.RelativePositionAxes = Axes.Both;
|
logo.RelativePositionAxes = Axes.Both;
|
||||||
|
|
||||||
logo.MoveTo(new Vector2(0.5f), 800, Easing.OutExpo);
|
logo.MoveTo(new Vector2(0.5f), 800, Easing.OutExpo);
|
||||||
logo.ScaleTo(1, 800, Easing.OutExpo);
|
logo.ScaleTo(1, 800, Easing.OutExpo);
|
||||||
}, buttonArea.Alpha * 150);
|
}, buttonArea.Alpha * 150);
|
||||||
break;
|
break;
|
||||||
case MenuState.TopLevel:
|
case MenuState.TopLevel:
|
||||||
case MenuState.Play:
|
case MenuState.Play:
|
||||||
@ -360,15 +360,15 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
logoDelayedAction?.Cancel();
|
logoDelayedAction?.Cancel();
|
||||||
logoDelayedAction = Scheduler.AddDelayed(() =>
|
logoDelayedAction = Scheduler.AddDelayed(() =>
|
||||||
{
|
{
|
||||||
logoTracking = true;
|
logoTracking = true;
|
||||||
|
|
||||||
if (impact)
|
if (impact)
|
||||||
logo.Impact();
|
logo.Impact();
|
||||||
|
|
||||||
hideOverlaysOnEnter.Value = false;
|
hideOverlaysOnEnter.Value = false;
|
||||||
allowOpeningOverlays.Value = true;
|
allowOpeningOverlays.Value = true;
|
||||||
}, (1 - buttonArea.Alpha) * 200);
|
}, 200);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logo.ClearTransforms(targetMember: nameof(Position));
|
logo.ClearTransforms(targetMember: nameof(Position));
|
||||||
|
Loading…
Reference in New Issue
Block a user