mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-21 09:54:09 +01:00
Gradient mesh points picked with the Mesh tool, Direct Selection, the Lasso or the Polygonal Lasso now stay picked when another of these tools is chosen, and when one of them lends Direct Selection for a Cmd/Ctrl click, so a fill color chosen afterwards recolors just those points. Before, only a switch to or from the Eyedropper kept them. Any other tool, Group Selection included, drops them. Session::switch_tool, lend_selection_tool and give_back_tool share one test of which tools pick mesh points. Giving the tool back leaves the lender's picks alone when they did not change, so the Mesh tool keeps the point whose handles it shows. Tests: crates/engine/src/tests/mesh_picks.rs. Docs: docs/mcp.md, docs/target-app-parity.md.