Skip to content

Fix #921: the Properties panel's Gradient section with Type and Draw - #933

Merged
bflatastic merged 1 commit into
mainfrom
fix/921-properties-gradient
Oct 10, 2026
Merged

bflatastic merged 1 commit into
mainfrom
fix/921-properties-gradient

Conversation

@bflatastic

Copy link
Copy Markdown
Member

Fixes #921.

With the Gradient tool active, the Properties panel now has a Gradient section:

  • Type: Linear, Radial and Freeform buttons for the gradient behind the active Fill/Stroke proxy. With no gradient yet, they apply one.
  • Draw: for a freeform gradient, Points or Lines as radio buttons (how the Gradient tool adds points).

The Gradient panel and the Properties panel share the type row and the draw-mode change. The Gradient panel itself already had both controls.

Tested:

  • cargo xtask ci (all 7 steps); the Properties, Gradient panel and i18n tests.
  • New test the_gradient_tool_shows_the_gradient_type_and_draw: no section with the Selection tool; with the Gradient tool, Type for a linear gradient, then Draw with Points and Lines for a freeform one, where clicking Lines switches the gradient's draw mode.

🤖 Generated with Claude Code

With the Gradient tool active, the Properties panel shows a Gradient
section: the type buttons (Linear, Radial, Freeform) and, for a
freeform gradient, Draw: Points or Lines as radio buttons. The Gradient
panel and the Properties panel share the type row and the draw mode
change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bflatastic
bflatastic merged commit fe2d2ca into main Oct 10, 2026
1 check passed
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.

Gradient Type and Gradient Draw Type Options Missing

1 participant