mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 10:51:11 +01:00
Color Wheel: Show Opacity edge cases in the opacity commands and the row
- paint.setFill and paint.setStroke give a graph's series marks and axis lines the opacity they write even when the object already shows it, so another mark's kept opacity no longer comes back after the graph is drawn again. - The proxies answer no opacity whenever the Live Paint Bucket paints, which includes a Cmd+click and an Eyedropper pick armed for it. - A swatch that is not a name is an error with an opacity instead of an opacity alone. - Hiding the Show Opacity row, or the row turning gray, during a drag keeps the previewed opacity as one undo step and ends the interaction. - The help text and docs/mcp.md name the picked mesh points case, the grayscale image colorize exception and the New Art Has Basic Appearance off case.
This commit is contained in:
1 parent
c55515ed41
commit
ff5071c93d
7 files changed
+193
-14
No files matched your search
+6
-3
@@ -912,10 +912,13 @@ its kind (`paint.proxies`) and the Gradient tool's annotator then show that row.
|
||||
`inspect_document` reports it as `paint.appearanceItem`. `paint.setFill` and `paint.setStroke` also take `opacity`
|
||||
(0 to 100, a percentage as in `transparency.set`), which sets the opacity of the fill or stroke row they paint, with
|
||||
or without a new paint, as one undo step. An opacity that no target takes is an error and also leaves the paint
|
||||
undone. Without a new paint, `objects` counts only the targets that took the opacity. `paint.proxies` answers it as `fillOpacity` and `strokeOpacity`, from the first selected object that has
|
||||
undone. A `swatch` that is not a name does not make the request an opacity alone: it is an error without a paint of
|
||||
its own. A color for a grayscale or 1-bit image's drawing color creates no fill row, so an opacity given with it goes
|
||||
to a fill row the image has. With New Art Has Basic Appearance off, the next shape copies the first selected object's
|
||||
appearance after any command, its opacity included. Without a new paint, `objects` counts only the targets that took the opacity. `paint.proxies` answers it as `fillOpacity` and `strokeOpacity`, from the first selected object that has
|
||||
that row (a selected path of a compound path answers with its compound path's row, which the commands edit, and a
|
||||
selected Live Paint group answers with its faces' fills and its edges' strokes). It answers null with nothing selected, for an object selected in a symbol instance, while the Live Paint Bucket is the
|
||||
active tool, while the Type tool has characters selected, and when only type characters (which have no opacity of their own) or objects without that
|
||||
selected Live Paint group answers with its faces' fills and its edges' strokes). It answers null with nothing selected, for an object selected in a symbol instance, while the Live Paint Bucket paints (it is the active tool, or a Cmd+click or an Eyedropper pick works for it),
|
||||
while the Type tool has characters selected, and when only type characters (which have no opacity of their own) or objects without that
|
||||
row are selected. Live effects take the same `item` to apply to one fill or
|
||||
stroke instead of the whole object: `run_command effect.apply {"effect": "path.offsetPath", "item": 0}`, and
|
||||
`effect.remove`, `effect.setParams` (`visible` toggles one) and `effect.duplicate` address that item's effects;
|
||||
|
||||
Reference in new issue
Block a user