Files
figcraft/docs
Denis Gomes 77bd448d41 M4: The eyedropper colours a stroke-only layer's stroke and shows its colour
Three changes to picking a colour with the eyedropper (I, Ctrl+C on macOS):

- A selected layer with a visible stroke and no visible fill takes the
  colour on its stroke. It used to get a new fill over what the outline
  shows. Other layers take it on their fill as before, and a mixed
  selection changes in one undo step.
- With a colour picker open on a fill or a stroke, the shortcut samples
  for that picker, as its own eyedropper button does, instead of filling
  the selection and closing the picker.
- Beside the pointer, a swatch shows the colour under it, read from the
  canvas image already on screen: the canvas keeps the last image it
  uploaded (one canvas-sized buffer) instead of rendering the document
  again on every pointer move.

Tests: eyedropper_stroke_tests, colorpicker_eyedropper_tests.
2026-11-19 15:08:50 -05:00
..