mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
fix(studio): static-position drag no longer freezes an element beside an animated rotation (#2016)
## What Brief description of the change. ## Why Why is this change needed? ## How How was this implemented? Any notable design decisions? ## Test plan How was this tested? - [ ] Unit tests added/updated - [ ] Manual testing performed - [ ] Documentation updated (if applicable)
This commit is contained in:
@@ -29,6 +29,7 @@ export async function commitWholePropertyOffset(
|
||||
callbacks: GsapDragCommitCallbacks,
|
||||
label: string,
|
||||
): Promise<void> {
|
||||
// fallow-ignore-next-line code-duplication
|
||||
let effectiveAnim = anim;
|
||||
if (anim.keyframes) {
|
||||
const newId = await materializeIfDynamic(anim, iframe, callbacks.commitMutation, selection);
|
||||
|
||||
Reference in New Issue
Block a user