mirror of
https://github.com/ppy/osu
synced 2025-02-25 23:21:26 +00:00
Adjust transforms for cursor transitions
This commit is contained in:
parent
a6c6523a86
commit
5952f1e7f1
@ -159,5 +159,17 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
|||||||
|
|
||||||
return false;
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -99,8 +99,8 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
|
|
||||||
protected override void PopOut()
|
protected override void PopOut()
|
||||||
{
|
{
|
||||||
ActiveCursor.FadeTo(0, 900, Easing.OutQuint);
|
ActiveCursor.FadeTo(0, 250, Easing.OutQuint);
|
||||||
ActiveCursor.ScaleTo(0, 500, Easing.In);
|
ActiveCursor.ScaleTo(0.6f, 250, Easing.In);
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Loading…
Reference in New Issue
Block a user