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

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

Loading…
Cancel
Save