mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 23:00:03 +00:00
fix(studio): target colliding keyframes exactly (#2692)
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
deduplicateKeyframes,
|
||||
isStaticPositionHold,
|
||||
synthesizeFlatTweenKeyframes,
|
||||
type MergeableKeyframe,
|
||||
} from "./gsapTweenSynth";
|
||||
import { fetchParsedAnimations, populateKeyframeCacheFromAst } from "./keyframeCacheAstLoad";
|
||||
|
||||
@@ -266,13 +267,7 @@ export function useGsapAnimationsForElement(
|
||||
domClipChildren,
|
||||
);
|
||||
|
||||
const allKeyframes: Array<
|
||||
GsapKeyframesData["keyframes"][0] & {
|
||||
tweenPercentage?: number;
|
||||
propertyGroup?: string;
|
||||
animationId?: string;
|
||||
}
|
||||
> = [];
|
||||
const allKeyframes: MergeableKeyframe[] = [];
|
||||
let format: GsapKeyframesData["format"] = "percentage";
|
||||
let ease: string | undefined;
|
||||
let easeEach: string | undefined;
|
||||
|
||||
Reference in New Issue
Block a user