diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-13 00:35:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-13 00:35:50 -0500 |
| commit | bc21d380b04efc7fd89715e13d45ad1c3662b7f0 (patch) | |
| tree | 09afd35b637f59084c741ea5dc95785721c3dab3 /docs/specs/2026-07-12-component-generation-spec.org | |
| parent | c15c835425141ca018aa02e6b2f7447a73e152ca (diff) | |
| download | archsetup-bc21d380b04efc7fd89715e13d45ad1c3662b7f0.tar.gz archsetup-bc21d380b04efc7fd89715e13d45ad1c3662b7f0.zip | |
feat(gallery): slide-rule unit stops, zoom-safe clicks, and four faces
Clicks compared e.clientX (visual px, scaled by the size toggle's CSS zoom) against layout-px mark coordinates, so at M or L size nearest-mark snapping picked the wrong stop, usually the far end — the dial felt impossible to select. The click handler now divides the zoom out (offsetWidth over rect width), and the widget shows a subtle outline on click focus so it reads as armed for arrow keys.
The printed numerals are now majors with minor ticks at the integer units between them, all selectable: click a numeral, a mark, or between marks, and arrows step one unit instead of one numeral. The spec sheet claimed drag-only input, which was never true; it now names the click and key idioms.
The face rides new --tn-* vars and GW.slideRule gains opts.skin plus setStyle backed by GW.slideRule.STYLES: warm backlit (shipped default), chrome with dark ink, 80s black glass with an LED-red needle, and marantz blue with a pale needle. Card 25 joins the styleChips rig.
Diffstat (limited to 'docs/specs/2026-07-12-component-generation-spec.org')
0 files changed, 0 insertions, 0 deletions
