Skip to content

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

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

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

Conversation

@Pablo31Monster

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 15:58
@signoff-validator

Copy link
Copy Markdown

Contribution License Agreement - Validation Failed 🔴

Signoff validation failed. Remember that to contribute to InditexTech you must follow our contribution guidelines and agree to our Contribution License Agreement.

Issues Found

582b25f2 feat: add shift and alt/option modifiers for shape drawing \(\#1177\)

Author: Pablo Galvez <pablogalvez31@gmail.com> 👤 External
Sign-offs: None
Issues:

  • The GPG key used to sign this commit is not registered with any user's account. Please add your key to your account.
  • Commit author must provide a 'Signed-off-by' line in the commit message.

To fix these issues, please read the organization contribution guide: InditexTech Contribution Guide

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