mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 13:47:21 -06:00
Filled rectangles are drawn on whole pixels, but the gradient chip is a mesh, which was drawn at its exact position. At a fractional position or display scale the Gradient button under the Fill/Stroke proxy sat up to half a pixel off the Color and None buttons beside it. gradient_chip now rounds its rect to pixels first, which also lines it up wherever else a gradient chip sits next to a color chip.