Files
vectorcraft/crates/ui-egui
dotCooCoo 4f065ccbbf Part of #978: Show Opacity in the Color Wheel panel sets the opacity of the fill or stroke
The Color Wheel panel menu gets Show Opacity, kept with the preferences
(`ui.colorWheel {opacity}`). It adds a row under the wheel or the box with
a slider and a percent field. The row sets the opacity of the fill or
stroke item, the selected gradient stop or the selected freeform point
(the first stop or point when none is selected, as for a color pick), and
a drag is one undo step. The row is gray with nothing selected, for an
object selected in a symbol instance, and when the fill or stroke item it
would set is on type characters or missing.

- paint.setFill and paint.setStroke take `opacity` (a percentage, 0 to
  100), with or without a new paint. An opacity that no target takes is
  an error and leaves the paint undone too. paint.proxies answers
  `fillOpacity` and `strokeOpacity` from the first row the command would
  edit. A graph series keeps the opacity on regeneration.
- The opacity slider and the swatch chips draw the same checkerboard.
- New error and menu strings have rows in the catalogs.

Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md.
2026-11-14 09:33:39 -08:00
..