From d731c3a367d72ecb06e40889505a3d93f608d3b3 Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Thu, 27 Aug 2026 16:20:21 +0200 Subject: [PATCH] Drop a comment block pasted twice Copy-paste artefact from the review fix wave: the nine lines explaining why the bar's right edge is clamped appeared twice, back to back. Cosmetic, but this file's whole style is careful commentary and a doubled paragraph reads as an editing mistake in the middle of it. Co-Authored-By: Claude Opus 5 (1M context) --- src/client/components/Timeline.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/client/components/Timeline.tsx b/src/client/components/Timeline.tsx index 245fc61..0a1cc08 100644 --- a/src/client/components/Timeline.tsx +++ b/src/client/components/Timeline.tsx @@ -445,15 +445,6 @@ export function Timeline({ // it — growing `overflow-auto`'s scrollWidth into empty space // with no gridlines or axis is exactly what the board exists // to avoid. - // `boardWindow`'s `max` is derived from `plotted` alone, so a - // base row can never run past it — but an expanded occurrence - // can: `occurrencesOf` admits anything *starting* at or before - // the window's edge, and one with no stated end then runs a - // full interval past it. Clamped the same way `left` is - // clamped to 0, so a rule can fill the board but never enlarge - // it — growing `overflow-auto`'s scrollWidth into empty space - // with no gridlines or axis is exactly what the board exists - // to avoid. const right = Math.min( x(clock.endsMs ?? clock.startsMs + 14 * DAY), chartWidth,