mirror of
https://github.com/osukey/osukey.git
synced 2025-06-07 20:37:57 +09: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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool instantMove = true;
|
public void Move(Vector2 pos) => Position = pos;
|
||||||
|
|
||||||
public void Move(Vector2 pos)
|
|
||||||
{
|
|
||||||
if (instantMove)
|
|
||||||
{
|
|
||||||
Position = pos;
|
|
||||||
instantMove = false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
this.MoveTo(pos, 200, Easing.OutQuint);
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void PopIn() => this.FadeIn(200, Easing.OutQuint);
|
protected override void PopIn() => this.FadeIn(200, Easing.OutQuint);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user