mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-12 15:20:13 +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:
+31
-6
@@ -82,7 +82,7 @@
|
||||
data-start="0"
|
||||
data-duration="7"
|
||||
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>
|
||||
@@ -155,7 +155,15 @@
|
||||
d += " Q " + (w + wob(7)) + " " + wob(8) + " " + (w + wob(9)) + " " + (r + wob(10));
|
||||
d += " L " + (w + wob(11)) + " " + (h / 2 + wob(12));
|
||||
d += " L " + (w + wob(13)) + " " + (h - r + wob(14));
|
||||
d += " Q " + (w + wob(15)) + " " + (h + wob(16)) + " " + (w - r + wob(17)) + " " + (h + wob(18));
|
||||
d +=
|
||||
" Q " +
|
||||
(w + wob(15)) +
|
||||
" " +
|
||||
(h + wob(16)) +
|
||||
" " +
|
||||
(w - r + wob(17)) +
|
||||
" " +
|
||||
(h + wob(18));
|
||||
d += " L " + (w / 2 + wob(19)) + " " + (h + wob(20));
|
||||
d += " L " + (r + wob(21)) + " " + (h + wob(22));
|
||||
d += " Q " + wob(23) + " " + (h + wob(24)) + " " + wob(25) + " " + (h - r + wob(26));
|
||||
@@ -214,10 +222,27 @@
|
||||
c.setAttribute("id", "hw-pl-conn-" + i);
|
||||
c.setAttribute(
|
||||
"d",
|
||||
"M " + (cx + 10) + " " + cy +
|
||||
" Q " + (cx + CONFIG.gap / 2 + window.hwHash(i * 9 + 2, CONFIG.seed) * 16) + " " + (cy - 46 - window.hwHash(i * 9 + 3, CONFIG.seed) * 12) +
|
||||
" " + (ex - 10) + " " + ey +
|
||||
" M " + (ex - 10) + " " + ey + " l -30 -14 M " + (ex - 10) + " " + ey + " l -26 18"
|
||||
"M " +
|
||||
(cx + 10) +
|
||||
" " +
|
||||
cy +
|
||||
" Q " +
|
||||
(cx + CONFIG.gap / 2 + window.hwHash(i * 9 + 2, CONFIG.seed) * 16) +
|
||||
" " +
|
||||
(cy - 46 - window.hwHash(i * 9 + 3, CONFIG.seed) * 12) +
|
||||
" " +
|
||||
(ex - 10) +
|
||||
" " +
|
||||
ey +
|
||||
" M " +
|
||||
(ex - 10) +
|
||||
" " +
|
||||
ey +
|
||||
" l -30 -14 M " +
|
||||
(ex - 10) +
|
||||
" " +
|
||||
ey +
|
||||
" l -26 18",
|
||||
);
|
||||
svg.appendChild(c);
|
||||
conns.push(c);
|
||||
|
||||
Reference in New Issue
Block a user