Skip to content

feat: add shift and alt/option modifiers for shape drawing (#1177) - #1191

Open
Pablo31Monster wants to merge 1 commit into
InditexTech:mainfrom
Pablo31Monster:feature/shape-drag-modifiers
Open

Pablo31Monster wants to merge 1 commit into
InditexTech:mainfrom
Pablo31Monster:feature/shape-drag-modifiers

Conversation

@Pablo31Monster

@Pablo31Monster Pablo31Monster commented Oct 8, 2026 •

Copy link
Copy Markdown

Summary

Adds keyboard modifiers for drawing shapes by dragging on the canvas, so users can control both a shape’s proportions and its anchor point while creating it.

Changes

  • Shift constrains proportions: rectangles become squares, ellipses become circles, and polygons follow the proportions supported by their tool.
  • Alt/Option uses the initial click as the shape’s center, drawing outward as the pointer moves.
  • Shift + Alt/Option combines centered drawing with constrained proportions.
  • Applies these behaviors to the Rectangle, Ellipse, and Polygon tools.
  • Updates the relevant documentation and changelog entry for issue Feature request: Shift and Alt/Option modifiers when drawing shapes (proportions and center-based drawing) #1177.

Validation

  • SDK tests pass.
  • SDK build succeeds.
  • Manual validation in localhost

@Pablo31Monster
Pablo31Monster requested a review from a team as a code owner October 8, 2026 18:00
@signoff-validator

signoff-validator Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Contribution License Agreement - Valid 🟢

All commits contain valid signoff. As a confirmation, remember that you are agreeing to our Contribution License Agreement.

@Pablo31Monster
Pablo31Monster force-pushed the feature/shape-drag-modifiers branch from 582b25f to 9e9b4c3 Compare October 8, 2026 18:06
@jesusmpc jesusmpc added the skip-release Do not publish a release for this change. label Oct 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release Do not publish a release for this change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Shift and Alt/Option modifiers when drawing shapes (proportions and center-based drawing)

2 participants