Graflow: subflow enter/exit tween aligned with tween param

This commit is contained in:
STEINNI
2026-04-13 08:15:59 +00:00
parent 2159c3881f
commit e4c4bb7f86
+1 -1
View File
@@ -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;