Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@flowscape-ui/canvas-react@1.1.1

Patch Changes

  • #23 5ab554b Thanks @binary-shadow! - MVP 0.3: Edit Frame handles and UX improvements

    Added

    • Edit Frame overlay: corner resize handles (4 corners). Shift keeps aspect; Alt resizes from center.
    • Rotate handles: dedicated circular handles outside corners; rotation around node center. Angle-based rotation math.
    • Corner‑radius handles (inner dots): drag to change radius; Ctrl — uniform radius for all four corners.
    • Size badge (W×H) under the frame during resize with zoom-aware values.

    Changed

    • Resize uses fixed opposite corner; temporary vs commit updates ensure a single clean history entry per gesture.
    • Corner‑radius gesture UX: finishes strictly on LMB release, guards by pointerId, commits on pointercancel.
    • Handle positioning now happens inside a single rotated container so handles stay aligned while rotating.

    Fixed

    • Prevent "stuck drag" after radius gesture due to missing button state checks.
    • Rotate/radius/resize handle misalignment when node is rotated.
    • Minor cursor/title hints for handle tooltips.

@binary-shadow binary-shadow merged commit 8301365 into main Aug 28, 2025
@binary-shadow binary-shadow deleted the changeset-release/main branch August 28, 2025 00:50
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.

1 participant