mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-10 04:11:23 +00:00
As asked in review: the reference app has no such commands, so they ship in the Color Effects add-on. paint.fillToStroke / paint.strokeToFill are now addon.color.fillToStroke / addon.color.strokeToFill in cmd/addons/color.rs, listed in Object > Plug-ins > Color Effects instead of the Color panel menu, with catalog rows in all 26 catalogs. Two fixes from CodeRabbit's review: - A graph's series marks and labels give the graph the copied paint in the same undo step (capture_series_paints / capture_label_styles, as paint.setFill does), so drawing the graph again keeps it. Targets go through graph::paint_targets, so a series group stands for its marks. - A copy that would leave the effective paint as it is skips the object, so None copied onto a missing fill or stroke adds no item and records no undo step.