1
0
forked from noxious/client

Better anims

This commit is contained in:
Dennis Postma 2024-08-03 19:13:13 +02:00
parent 2c99ab871b
commit 705454de6f

View File

@ -60,8 +60,8 @@ const updatePosition = (x: number, y: number) => {
targets: { x: currentX.value, y: currentY.value },
x: targetX,
y: targetY,
duration: 150,
ease: 'Linear',
duration: 160,
ease: 'Power1',
onUpdate: (tween) => {
currentX.value = tween.targets[0].x ?? 0
currentY.value = tween.targets[0].y ?? 0