mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 04:07:12 -06:00
## Summary Illustrator lets you drag the fill colour onto the stroke (or the other way) in the Color Picker and in the fill/stroke chip popover. VectorCraft now shows the Fill/Stroke proxy pair in the Color Picker (except for artboard background edits) and applies paint.setFill or paint.setStroke when a proxy paint is dropped on either square; clicking a square switches which side the picker edits. The fill/stroke chip popover stays open while the pointer is down, while a panel paint drag is active, or when the opening click is on the chip anchor, so drags between the proxies can finish. ## Tests - color_picker_proxy_drag_applies_fill_to_stroke (headless egui) - existing dropping_a_proxy_paint_on_the_other_proxy_applies_it unchanged Closes storytold/vectorcraft#3440 Co-authored-by: nrq6993-a11y <nrq6993-a11y@users.noreply.github.com>