mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
Each tool switch builds a new tool, and a new Artboard tool started on Artboard 1 whatever artboard was active. With Artboard 2 active, after the tool was chosen with Shift+O, its toolbar button, Edit Artboards in Properties or Document Setup, or the Artboards panel menu's Artboard Options…, the canvas outlined Artboard 1, and Delete, Cut, Copy, the Transform panel and Artboard Options acted on Artboard 1. The first pointer event over the canvas, a hover included, then made Artboard 1 the active artboard for Align to Artboard and Paste in Place too. VectorcraftApp::select_tool now starts a newly chosen Artboard tool on the active artboard, as the Artboards panel row's Options button does. Choosing the tool again while it is in use leaves it as it was, and the artboards Shift-clicked into its selection stay selected. The test makes Artboard 2 active, chooses the tool with tool.select, and checks the tool's active option, Artboard Options, a hover over Artboard 1 and Delete. It then presses Shift+O with two artboards selected and checks that both stay selected. Docs: docs/mcp.md (tool.select), docs/target-app-parity.md.