mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-04 21:17:30 +00:00
Move the keyframe rest-value table into @hyperframes/core/keyframe-defaults and import it from the SDK backfill and Studio's gsapShared, replacing the two hand-synced copies. Closes #5387 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
280 B
TypeScript
13 lines
280 B
TypeScript
// A prop absent here has no safe static default; each caller decides how to treat it.
|
|
export const KEYFRAME_PROPERTY_DEFAULTS: Readonly<Record<string, number>> = {
|
|
opacity: 1,
|
|
x: 0,
|
|
y: 0,
|
|
scale: 1,
|
|
scaleX: 1,
|
|
scaleY: 1,
|
|
rotation: 0,
|
|
width: 100,
|
|
height: 100,
|
|
};
|