Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/studio/src/hooks/gsapResizeIntercept.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,8 @@ export async function tryGsapResizeIntercept(
return false;
}
const dropPoint = scaleDraftDropPoint;
// Measure from the pre-gesture position: the scale route never saves the draft's translation, and
// the position write composes the residual onto that same base.
// Measure from the pre-gesture position: the scale route never saves the draft's translation, and the write
// composes the residual onto that base. A sealed frame has no live read: the stamp's base alone (gsapPos 0,0).
const preGesture = () => {
const gsapPos = readGsapPositionFromIframe(iframe, selector) ?? { x: 0, y: 0 };
const { baseGsapX, baseGsapY } = computeDraggedGsapPosition(
Expand Down
Loading