mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
With Pick Color From Artwork, a Shape Builder merge took the look of the front-most object over the first covered region the drag touched, and the current fill when the drag touched only areas no object covers. The reference app's combine page gives the look of the object where the drag starts, else of the object where it ends, else of the topmost selected object. shapeBuilder.merge now follows that rule: the merged shape takes the appearance, opacity and blending mode of the front-most of the objects it is given (the selection by default) under the first point, else of the one under the last point, else of the front-most of those objects. A drag from a hole across a gray bar into a red square now gives a red shape, where it gave the bar's look. A click in an area no selected object covers, such as a hole that gray bars enclose or a triangle that lines enclose, takes the front-most selected object's look instead of the current fill. Pick Color From Color Swatches works as before. The tool already sends the press point first and the release point last. Docs: docs/mcp.md, docs/target-app-parity.md.