Files
vectorcraft/crates/engine
dotCooCoo d2aede7c6e Eyedropper: Object Highlighting outlines the object a click would act on
With Smart Guides' Object Highlighting on, the Eyedropper now outlines
the object under the pointer that a click there would act on, with the
1.5 px layer-color outline the selection tools draw. It follows the
keys held: a plain click's source (locked and template art included,
as the Eyedropper reads them), the selected gradient mesh a click
recolors, the editable object an Alt-click gives the selection's
attributes to, and for a Shift-click the object whose color is sampled
(a blend or an envelope where its art is drawn, the art below where it
leaves a gap). Empty canvas and hidden art show no outline.

The tool finds that object with the same code its click uses: the
click is planned once (Tool::hover_object, Session::hover_object) and
the color sampler returns the object the color came from. The canvas
keeps the object found until the pointer, the keys, the document, the
selection or the tool's settings change, since finding it can sample
a color.

With Space held, a press pans the view, so no tool outlines an object
under the pointer; the selection tools showed one before.
2026-11-19 21:44:13 -08:00
..
2026-11-17 20:24:50 -08:00