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) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
e3c4fae1b9
commit
d731c3a367
@@ -445,15 +445,6 @@ export function Timeline({
|
|||||||
// it — growing `overflow-auto`'s scrollWidth into empty space
|
// it — growing `overflow-auto`'s scrollWidth into empty space
|
||||||
// with no gridlines or axis is exactly what the board exists
|
// with no gridlines or axis is exactly what the board exists
|
||||||
// to avoid.
|
// 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(
|
const right = Math.min(
|
||||||
x(clock.endsMs ?? clock.startsMs + 14 * DAY),
|
x(clock.endsMs ?? clock.startsMs + 14 * DAY),
|
||||||
chartWidth,
|
chartWidth,
|
||||||
|
|||||||
Reference in New Issue
Block a user