Adjust transforms for cursor transitions

This commit is contained in:
smoogipoo 2018-01-12 19:34:14 +09:00
parent a6c6523a86
commit 5952f1e7f1
2 changed files with 14 additions and 2 deletions

View File

@ -159,5 +159,17 @@ public bool OnReleased(OsuAction action)
return false;
}
protected override void PopIn()
{
ActiveCursor.FadeTo(1, 250, Easing.OutQuint);
ActiveCursor.ScaleTo(1, 400, Easing.OutQuint);
}
protected override void PopOut()
{
ActiveCursor.FadeTo(0, 250, Easing.OutQuint);
ActiveCursor.ScaleTo(0.6f, 250, Easing.In);
}
}
}

View File

@ -99,8 +99,8 @@ protected override void PopIn()
protected override void PopOut()
{
ActiveCursor.FadeTo(0, 900, Easing.OutQuint);
ActiveCursor.ScaleTo(0, 500, Easing.In);
ActiveCursor.FadeTo(0, 250, Easing.OutQuint);
ActiveCursor.ScaleTo(0.6f, 250, Easing.In);
}
[BackgroundDependencyLoader]