From a763b9fc5c35721c29e92d49aaff82dbfa7915f6 Mon Sep 17 00:00:00 2001 From: amosblomqvist Date: Wed, 7 Oct 2026 12:55:11 +0300 Subject: [PATCH] graph: the sliders re-centered on the new defaults (release polish 6.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The owner speaks in display values: "labels until zoom" shows ratio/0.5, so the old default displayed 8× — and "default one" means display 1× = ratio 0.5, one stop tighter than the round-1 value. Both ladders are re-centered so the new defaults sit dead-center again (stop #5): labelZoom: [0.125, 0.175, 0.25, 0.35, 0.45, 0.5, 0.75, 1, 1.5, 2, 3] — default 0.5 (displays 1×); finer steps below the default, the old familiar run above; old stored 4/24 snap to 3. blur: [10, 15, 20, 25, 30, 40, 50, 60, 80, 100, 120] — default 40 dead-center, min 10 per the owner's suggestion, old ceiling kept; old 4/5/7.5 snap to the new floor. The dead-center ladder law is restored with no exceptions; migration pins updated (blur 8.1 → 10, labelZoom 0.5 now a member). 1428 tests, tsc, lint, build green. --- components/graph-view.tsx | 2 +- src/core/render-settings.ts | 18 +++++++++++++----- tests/graph-canvas.test.ts | 2 +- tests/render-settings.test.ts | 36 ++++++++++++++++------------------- 4 files changed, 31 insertions(+), 27 deletions(-) diff --git a/components/graph-view.tsx b/components/graph-view.tsx index b414b86..aa67798 100644 --- a/components/graph-view.tsx +++ b/components/graph-view.tsx @@ -525,7 +525,7 @@ function GraphSettingsControl({ onChange={(p) => changeSettings((cur) => ({ ...cur, labelSize: fromLadderPosition(p, LABEL_SIZE_LADDER) }))} /> - {/* Display is absolute (ratio / 0.5): "8×" is the tuned default, dead-center. */} + {/* Display is absolute (ratio / 0.5): "1×" is the default, dead-center (owner, 2026-10-07). */}