mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 01:10:54 +01:00
Color Wheel: opacity row follows the Type tool's characters and keeps the hue
- paint.proxies answers no fill or stroke opacity while the Type tool has
characters selected, so the Color Wheel's opacity row is gray instead of
offering a value that paint.setFill {opacity} refuses.
- paint.setFill and paint.setStroke with `id` paint that object while the
Type tool has characters selected, as they already do with `ids`.
- An opacity edit of a gradient stop or freeform point keeps the hue picked
last for an achromatic color.
- With a None fill, a screen reader's set value on the Brightness strip sets
the fill even when the value equals the hidden number of the last color.
This commit is contained in:
1 parent
19364e923c
commit
401dc96ef2
8 files changed
+131
-12
No files matched your search
+3
-2
@@ -788,8 +788,9 @@ its kind (`paint.proxies`) and the Gradient tool's annotator then show that row.
|
||||
(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. `paint.proxies` answers it as `fillOpacity` and `strokeOpacity`, from the first selected object that has
|
||||
that row. It answers null with nothing selected, for an object selected in a symbol instance, 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
|
||||
that row. It answers null with nothing selected, for an object selected in a symbol instance, 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;
|
||||
`apply_effect` uses the active item. `effect.list` reports each object's item effects under `applied[].items`.
|
||||
|
||||
Reference in new issue
Block a user