Tags: razzul/hyperframes
Tags
fix: guard layoutWidth/Height with HTMLElement instanceof check offsetWidth/offsetHeight are only defined on HTMLElement (not on SVGElement, MathMLElement, etc.). Casting unconditionally can yield undefined-by-runtime even though TypeScript thinks otherwise. Use an instanceof check and fall back to the bounding rect dimensions when the element is not an HTMLElement. Addresses deferred review feedback from PR heygen-com#290.
fix(hdr): address review feedback across stack - Document groupIntoLayers tie-break (V8 stable sort → DOM order). - Expand layerCompositor docstring: merge rationale, visibility inclusion. - Add tests: empty input, negative z-index, stable tie-break at equal z. - Document getEffectiveZIndex CSS stacking-context limitations. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
fix(hdr): address deferred items from PR heygen-com#288 review - blitRgb48leRegion: take canvasHeight as an explicit parameter so callers with non-square canvases or other byte-stride conventions cannot silently produce a wrong height. Updates all alphaBlit.test.ts call sites. - renderOrchestrator: cache max frame index per pre-extracted HDR frame directory and bounds-check videoFrameIndex before existsSync. Avoids redundant filesystem syscalls when the requested time falls past the last extracted frame for a given clip. Made-with: Cursor
PreviousNext