Skip to content

feat: add uniform scale handle to pivot controls#500

Open
buyicoder wants to merge 1 commit into
pmndrs:mainfrom
buyicoder:feat/pivot-uniform-scale
Open

feat: add uniform scale handle to pivot controls#500
buyicoder wants to merge 1 commit into
pmndrs:mainfrom
buyicoder:feat/pivot-uniform-scale

Conversation

@buyicoder

Copy link
Copy Markdown

Summary

  • Add a uniform scaleXYZ handle to PivotHandles.
  • Reuse the existing uniform scale transform path (scale: { uniform: true }) instead of adding new gesture math.
  • Bind the new handle from the React PivotHandles wrapper alongside the existing x/y/z scale handles.

Test plan

  • git diff --check
  • node_modules/.bin/tsc.cmd -p packages/handle/tsconfig.json
  • node_modules/.bin/tsc.cmd -p packages/react/handle/tsconfig.json

Note: pnpm -r build currently stops before package builds because pnpm requires interactive approval for ignored esbuild build scripts (pnpm approve-builds).

Closes #414

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PivotHandles uniform scale

1 participant