mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 03:51:16 +00:00
Graphs: invert and complement remember the equal row they recolor; document aligned
With a mixed selection and the Appearance panel's active row, paint.invert and paint.complement recolor each object's row equal to the active one, but remembered the color at the active row's index in the first object in paint order, which can be another row. They now remember the row they recolor there, as the gradient and freeform edits do. The params text of paint.setFill, paint.setStroke, paint.invert, paint.complement, paint.lastColor, paint.lastGradient, stroke.setAdvanced, paint.editGradient, paint.setGradientGeom and the paint.freeform edits now lists `aligned`. docs/mcp.md names paint.lastColor and paint.lastGradient, which take the same rows as paint.setFill, and docs/target-app-parity.md gets a line for the rows of a design's art.
This commit is contained in:
@@ -49,7 +49,7 @@ pub fn specs() -> Vec<CommandSpec> {
|
||||
"Stroke Options",
|
||||
[],
|
||||
None,
|
||||
"{arrowScale?: [start %, end %], swapArrows?: bool, flipProfile?: \"along\"|\"across\", brush?: name|null, item?: stroke item index|null, ids?|id?, target?: \"object\"|\"contents\"} Stroke panel extras (with nothing selected, all but brush set up the next object drawn)",
|
||||
"{arrowScale?: [start %, end %], swapArrows?: bool, flipProfile?: \"along\"|\"across\", brush?: name|null, item?: stroke item index|null, aligned?: bool (as stroke.set), ids?|id?, target?: \"object\"|\"contents\"} Stroke panel extras (with nothing selected, all but brush set up the next object drawn)",
|
||||
has_doc,
|
||||
stroke_advanced
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user