mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-13 22:21:59 +00:00
A row held in the 28-point band at the list's top or bottom edge scrolled the list by a fixed distance each frame, so the list moved farther in the same time on a display that redraws more often. `scroll_at_edges` now scrolls by the time each frame took: 60 points a second at the band's inner side and 340 at the edge. A stalled frame counts a tenth of a second at most. The scroll is applied without the scroll animation. The Libraries panel's list uses the same function. Test: `panels::layers` test `a_held_row_scrolls_the_list_as_far_in_the_same_time_at_any_frame_rate` holds a row for half a second in 15 frames and in 60 frames and compares where the rows come to rest. Docs: docs/target-app-parity.md.