mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 14:50:02 +00:00
style(registry): format mk / yt / hw family HTML with oxfmt
The contributed HTML predates any oxfmt pass, so format:check failed for 42 files in both the Format and Preflight jobs. All 29 items re-rendered after formatting and verified against frames — no visual change.
This commit is contained in:
+7
-4
@@ -100,7 +100,7 @@
|
||||
data-start="0"
|
||||
data-duration="4"
|
||||
data-track-index="0"
|
||||
style="position:absolute;width:1px;height:1px;opacity:0;pointer-events:none"
|
||||
style="position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none"
|
||||
></div>
|
||||
</div>
|
||||
<script>
|
||||
@@ -114,7 +114,10 @@
|
||||
window.ytCameraMove = function (tl, target, at, opts) {
|
||||
opts = opts || {};
|
||||
var dur = opts.dur === undefined ? 1.2 : opts.dur;
|
||||
gsap.set(target, { transformPerspective: 1200, transformOrigin: opts.origin || "50% 50%" });
|
||||
gsap.set(target, {
|
||||
transformPerspective: 1200,
|
||||
transformOrigin: opts.origin || "50% 50%",
|
||||
});
|
||||
tl.to(
|
||||
target,
|
||||
{
|
||||
@@ -127,7 +130,7 @@
|
||||
duration: dur,
|
||||
ease: opts.ease || "power2.inOut",
|
||||
},
|
||||
at
|
||||
at,
|
||||
);
|
||||
};
|
||||
// Return to rest (same easing family).
|
||||
@@ -145,7 +148,7 @@
|
||||
duration: opts.dur === undefined ? 1.2 : opts.dur,
|
||||
ease: opts.ease || "power2.inOut",
|
||||
},
|
||||
at
|
||||
at,
|
||||
);
|
||||
};
|
||||
// Edge-defocus pulse synced to a move (overlay fades in then out).
|
||||
|
||||
Reference in New Issue
Block a user