diff --git a/bzGraflow.js b/bzGraflow.js index 60b6b0a..cb1ca5b 100644 --- a/bzGraflow.js +++ b/bzGraflow.js @@ -308,7 +308,7 @@ class BZgraflow extends Buildoz{ // Force style flush, then animate back to identity (full parent size) childEl.getBoundingClientRect() - childEl.style.transition = 'transform 1000ms ease-in-out' + childEl.style.transition = `transform ${parseInt(this.getBZAttribute('tween')) || 500}ms ease-in-out` requestAnimationFrame(() => { childEl.style.top = 0; childEl.style.left = 0;