mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Instantly move rank graph tooltip
This commit is contained in:
parent
ee4869647f
commit
7d955839be
@ -283,18 +283,7 @@ namespace osu.Game.Overlays.Profile.Header.Components
|
||||
return true;
|
||||
}
|
||||
|
||||
private bool instantMove = true;
|
||||
|
||||
public void Move(Vector2 pos)
|
||||
{
|
||||
if (instantMove)
|
||||
{
|
||||
Position = pos;
|
||||
instantMove = false;
|
||||
}
|
||||
else
|
||||
this.MoveTo(pos, 200, Easing.OutQuint);
|
||||
}
|
||||
public void Move(Vector2 pos) => Position = pos;
|
||||
|
||||
protected override void PopIn() => this.FadeIn(200, Easing.OutQuint);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user