I tried implementing state-transitions with Vue.js 3 and gsap, like in the example of the Vue.js 3 documentation: https://v3.vuejs.org/guide/transitions-state.html#organizing-transitions-into-components
This example rounds to fullNumbers.
In my little project, I don't want the numbers to be rounded, but gsap.to() seems to round to a floating point precision of 4 (e.g. 0.00049 is rounded to 0.0005).
Is there a way, I can increase the precision of gsap.to() so that my small numbers are not always rounded to 0?
gsap.to is used like this:
tween(newValue, oldValue) {
gsap.to(this.$data, {
duration: 0.5,
tweeningValue: newValue,
ease: 'sine'
});
}
Thanks!