mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
fix: deterministic stagger, lint importmap/module, cache-bust previews
- Replace from:"random" with from:"center" stagger in us-map, world-map, spain-map — random stagger is non-deterministic across parallel render workers, causing visual jumps at chunk boundaries. - Exempt type="importmap" and type="module" inline scripts from the invalid_inline_script_syntax lint rule. The rule used new Function() to parse, which rejects import statements and JSON import maps. Closes #929. - Cache-bust all map MDX preview video URLs after re-rendering with the deterministic stagger fix.
This commit is contained in:
+2
-2
@@ -311,7 +311,7 @@
|
||||
duration: 0.4,
|
||||
stagger: {
|
||||
each: 0.08,
|
||||
from: "random",
|
||||
from: "center",
|
||||
},
|
||||
ease: "back.out(1.4)",
|
||||
},
|
||||
@@ -325,7 +325,7 @@
|
||||
duration: 0.3,
|
||||
stagger: {
|
||||
each: 0.05,
|
||||
from: "random",
|
||||
from: "center",
|
||||
},
|
||||
ease: "power2.out",
|
||||
},
|
||||
|
||||
Vendored
+2
-2
@@ -331,7 +331,7 @@
|
||||
duration: 0.4,
|
||||
stagger: {
|
||||
each: 0.06,
|
||||
from: "random",
|
||||
from: "center",
|
||||
},
|
||||
ease: "back.out(1.4)",
|
||||
},
|
||||
@@ -345,7 +345,7 @@
|
||||
duration: 0.3,
|
||||
stagger: {
|
||||
each: 0.04,
|
||||
from: "random",
|
||||
from: "center",
|
||||
},
|
||||
ease: "power2.out",
|
||||
},
|
||||
|
||||
+1
-1
@@ -370,7 +370,7 @@
|
||||
duration: 0.3,
|
||||
stagger: {
|
||||
each: 0.02,
|
||||
from: "random"
|
||||
from: "center"
|
||||
},
|
||||
ease: "power1.out"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user