Bingxi Zhao (Frank)
2e7cd82409
follow-up to #1351 : clamp toward the band, do not subtract it
...
The clamp read `min(clampedTop, rowCenter - lowerMargin)`, and
`rowCenter - 0.75h` is always the smaller of the two, so every cue
subtracted three quarters of a viewport from the centring offset — putting
the active row below the bottom edge, or pinned at the top for early cues.
The intent was to move only when the row leaves the middle 50%.
The arithmetic *is* the behaviour, so it moves to a pure
`transcriptFollowScrollTop` with the six cases pinned: inside the band
(no scroll at all, so the list stops creeping under the reader), above it,
below it, first cue, last cue, and a list too short to scroll.
(cherry picked from commit 0e51f652024d755460ea122447548d40e9285c16)
2026-09-10 23:55:18 +08:00
..
2026-09-07 23:36:04 +08:00
2026-09-01 15:55:40 +08:00
2026-09-08 00:22:08 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 21:28:15 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-08 00:46:09 +08:00
2026-09-06 23:04:24 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 22:15:33 -07:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-10 23:41:36 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-10 23:44:43 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 21:28:15 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-08 00:22:08 +08:00
2026-09-02 04:09:11 +08:00
2026-09-07 10:20:03 +00:00
2026-09-06 13:46:29 +08:00
2026-09-08 00:26:00 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-09-04 06:32:36 -07:00
2026-09-04 06:32:36 -07:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 18:55:55 +08:00
2026-09-01 22:24:29 +08:00
2026-09-10 23:44:43 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-07 07:55:08 +00:00
2026-08-31 01:13:07 +08:00
2026-09-01 22:24:29 +08:00
2026-09-07 01:04:08 +08:00
2026-09-10 22:51:27 +08:00
2026-09-03 15:56:55 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-07 01:04:08 +08:00
2026-09-02 04:09:11 +08:00
2026-08-29 22:29:53 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-08-30 13:19:42 +08:00
2026-09-10 23:41:30 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 15:29:55 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 20:16:46 +08:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 20:16:46 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 20:16:46 +08:00
2026-09-10 23:41:36 +08:00
2026-08-31 19:51:48 +08:00
2026-09-02 04:09:11 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 15:29:22 +08:00
2026-08-31 19:34:01 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 21:28:15 +08:00
2026-08-30 13:19:42 +08:00
2026-08-31 08:44:08 -07:00
2026-08-31 18:40:45 +08:00
2026-09-03 15:20:13 +08:00
2026-08-31 19:19:38 +08:00
2026-09-08 00:39:12 +08:00
2026-08-31 19:34:01 +08:00
2026-09-03 01:38:54 +08:00
2026-08-30 13:19:42 +08:00
2026-08-30 16:01:40 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-01 22:24:29 +08:00
2026-08-30 15:44:04 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-08-30 17:57:12 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 15:30:11 +08:00
2026-09-01 21:28:15 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-01 22:24:29 +08:00
2026-09-07 10:20:03 +00:00
2026-08-31 01:13:07 +08:00
2026-09-03 01:38:54 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-07 23:27:05 +08:00
2026-09-01 22:24:29 +08:00
2026-09-01 22:24:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
2026-09-10 23:55:18 +08:00
2026-09-06 13:46:29 +08:00
2026-09-01 20:16:46 +08:00
2026-09-02 04:09:11 +08:00
2026-09-10 23:45:21 +08:00
2026-09-06 13:46:29 +08:00
2026-08-31 01:13:07 +08:00
2026-08-31 01:13:07 +08:00
2026-08-31 01:13:07 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00