mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 12:17:14 -06:00
The reference app resets a gradient to black and white when the gradient button in the Tools panel is Cmd/Ctrl-clicked, and to the default black and white linear gradient when the Gradient Fill box in the Gradient panel is Cmd/Ctrl-clicked. In VectorCraft a Cmd/Ctrl-click on either did what a plain click does, and the reset was only in the Gradient panel menu. A Cmd/Ctrl-click on the Gradient panel's thumbnail or on the Tools panel's Gradient button now makes the gradient of the active Fill or Stroke a linear gradient with the White, Black stops, through paint.editGradient, as one undo step. A solid or no paint becomes that gradient, and with nothing selected the default paint changes. A plain click keeps its behavior, and the panel menu's Reset to White, Black is unchanged. Docs: docs/target-app-parity.md.