summaryrefslogtreecommitdiff
path: root/core/lib_syntax.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 22:46:14 -0300
committerGabriel Schneider <[email protected]>2026-11-22 22:46:18 -0300
commit313a652a4a1f93bd17ec6da4a5b8d082e398ca3a (patch)
treee584332b687f1757e441b243a006b653b444c75e /core/lib_syntax.zig
parent34e2d82a322bd3767a8ec62b3a4c0894399e8c04 (diff)
downloadpardes-313a652a4a1f93bd17ec6da4a5b8d082e398ca3a.tar.gz
pardes-313a652a4a1f93bd17ec6da4a5b8d082e398ca3a.zip
tests: a change's lanes ride their lines in a window: dev/gui/gui.zig's test of that name gives every frame the lanes `Changes` lays for a window (Surface.lanes; here `testLanes`: line L's on its row, 1 + L % 3 levels, coloured by its line so a strip names what it marks), glides a body a wheel's notch down and then Ctrl-d, each to rest on the test's clock, and holds a touchpad's half notch down and then up, and checks in every frame that each strip is where its line's text is drawn (the body's row less the lag, as emitScrollRows draws the rows), cut to the body, and that every line drawn in the body has all its strips (`expectLanesRide`; WheelRun gains `lanes`, the frames it renders given them); on this base it fails at the notch's first frame: a strip at 60 px whose line is drawn at 80 (the window draws the lanes at the rows their lines will have, a whole lag ahead of the text, which then catches up under them: the user's "the things in the gutter keep jumping" of 2026-11-22, seen in a test window at .scratch/sketch/reorg/pardes-lane-glide/strip-base-wheel.png); the next change is the fix
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/lib_syntax.zig')
0 files changed, 0 insertions, 0 deletions