Skip to content

Commit 9045e2d

Browse files
committed
style(studio): format the node drop call
1 parent 3f6059f commit 9045e2d

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎packages/studio/src/components/editor/MotionPathOverlay.tsx‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,15 @@ export const MotionPathOverlay = memo(function MotionPathOverlay({
377377
const anim =
378378
d.ref.type === "keyframe" ? selectedGsapAnimations?.find((a) => a.id === animId) : undefined;
379379
const iframe = iframeRef.current;
380-
void commitNodeDrop({ ref: d.ref, at: { x, y }, animId, anim, selection, iframe, commitMutation });
380+
void commitNodeDrop({
381+
ref: d.ref,
382+
at: { x, y },
383+
animId,
384+
anim,
385+
selection,
386+
iframe,
387+
commitMutation,
388+
});
381389
// Park the playhead on the edited keyframe's time so the element previews AT
382390
// that keyframe. Without it, a playhead sitting before the tween renders the
383391
// element's base pose — the edit (correct on the path) looks like it vanished.

0 commit comments

Comments
 (0)