mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-20 17:37:10 +01:00
Resting the pointer on an Artboard tool edge button now shows a tooltip after egui's usual delay: "Click to add an artboard on this side; Alt-click to duplicate this artboard with its art", or on a locked artboard, where an Alt-click does nothing, "Click to add an artboard on this side". The wording is VectorCraft's own. Tools can attach hover text to an overlay region with the new Overlay::HoverText (a disc in document units, drawn as nothing). The canvas puts a hover-only widget over each region, so the canvas keeps every click and drag, and shows the translated text while the pointer is inside the disc, no canvas drag is under way and no pointer button is down. A button hidden for lack of room, during a drag or with several artboards selected has no region, so no tooltip. Both strings have rows in every complete catalog, checked by a new i18n test, since the tl! scan does not read the tools crate.