fix indentation

pull/8169/head
Ben McCann 4 years ago committed by GitHub
parent d0a739615e
commit c5f278e2b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1307,14 +1307,12 @@ A custom animation function can also return a `tick` function, which is called *
const d = Math.sqrt(dx * dx + dy * dy);
return {
delay: 0,
duration: Math.sqrt(d) * 120,
easing: cubicOut,
tick: (t, u) =>
Object.assign(node.style, {
color: t > 0.5 ? 'Pink' : 'Blue'
}),
};
delay: 0,
duration: Math.sqrt(d) * 120,
easing: cubicOut,
tick: (t, u) =>
Object.assign(node.style, { color: t > 0.5 ? 'Pink' : 'Blue' })
};
}
</script>

Loading…
Cancel
Save