Compare commits

..

4 Commits

+1 -1
View File
@@ -308,7 +308,7 @@ class BZgraflow extends Buildoz{
// Force style flush, then animate back to identity (full parent size) // Force style flush, then animate back to identity (full parent size)
childEl.getBoundingClientRect() childEl.getBoundingClientRect()
childEl.style.transition = 'transform 1000ms ease-in-out' childEl.style.transition = `transform ${parseInt(this.getBZAttribute('tween')) || 500}ms ease-in-out`
requestAnimationFrame(() => { requestAnimationFrame(() => {
childEl.style.top = 0; childEl.style.top = 0;
childEl.style.left = 0; childEl.style.left = 0;