mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 00:44:21 +00:00
row_thumbnails_wait_for_the_end_of_a_drag expected every row's thumbnail to render in the first pass. The UI thread renders row thumbnails for at most 8 ms of wall-clock time per pass, so on a busy machine the first pass rendered only some rows, the next pass rendered the rest, and the test failed at "and stay". The thumbnail cache now takes a clock in tests (as the app's now_override does for idle scheduling). The drag test gives every render no time, and a new test gives each render 5 ms and checks that three rows render two in the first pass and one in the next. The 8 ms budget and the release build are unchanged.