SIGN IN SIGN UP

Feat(canvas): Replace Rectangle tool with new Shapes tool (#9082)

* Feat(Canvas): Replace Rectangle tool with multifunctional Shapes tool.

* Fix: Tweaked icon size on top bar

* Fix: also tweaked SVGs for Gradient tool to align with unified 16px icon size

* Feat: added freehand shape

* fix(canvas): remove duplicate lasso payload export after rebase

* `fix(canvas): clear polygon preview stroke on commit`

* chore: remove temporary codex artifact

* chore: format with prettier

* fix(canvas): preserve shapes sessions across view switch

* chore: format with prettier

* add: constrain rectangles to squares with shift

* fix(canvas): refine shapes space and alt interactions

* fix(canvas): preserve polygon sessions across temporary tool switches

* refactor(i18n): reuse lasso labels for shapes polygon modes

* fix(i18n): merge shapes locale additions with modifier hints

* feat(canvas): add shape-specific modifier hints and docs

* fix(canvas): refine shape modifier hints and toolbar overflow

* fix(canvas): keep toolbar overflow clipped to the right

* fix: Escape while panning while drawing should exit shape tool

---------

Co-authored-by: Alexander Eichhorn <alex@eichhorn.dev>
Co-authored-by: dunkeroni <dunkeroni@gmail.com>
V
Valeri Che committed
932eeedc33421b6f21ae5744ace83974bdbf885f
Parent: 8f46d8b
Committed by GitHub <noreply@github.com> on 5/14/2026, 12:41:29 PM