mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-08 10:46:06 +00:00
fix(studio): target colliding keyframes exactly (#2692)
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
deduplicateKeyframes,
|
||||
isStaticPositionHold,
|
||||
synthesizeFlatTweenKeyframes,
|
||||
type MergeableKeyframe,
|
||||
} from "./gsapTweenSynth";
|
||||
|
||||
export { resolveSelectorElementIds };
|
||||
@@ -83,7 +84,7 @@ export async function populateKeyframeCacheFromAst(
|
||||
const { setKeyframeCache } = usePlayerStore.getState();
|
||||
clearKeyframeCacheForFile(sf);
|
||||
const { elements, domClipChildren } = usePlayerStore.getState();
|
||||
const mergedByElement = new Map<string, GsapKeyframesData>();
|
||||
const mergedByElement = new Map<string, GsapKeyframesData<MergeableKeyframe>>();
|
||||
const sourceByElement = new Map<string, GsapAnimation[]>();
|
||||
for (const anim of parsed.animations) {
|
||||
if (anim.hasUnresolvedKeyframes) continue;
|
||||
|
||||
Reference in New Issue
Block a user