Files
vectorcraft/crates
dotCooCoo 4d29ea10ba Fix #7093: the font menu tests draw until every shown sample is rendered
open_menu_with waited once for the samples rendering and then drew its
last frame. A frame starts at most four samples, and none while eight
are rendering, so that last frame could start the samples of the rows
it showed instead of drawing them, and
show_samples_on_white_draws_dark_type_on_white_in_every_brightness
failed with "dark: samples are drawn" when the workers were slow.

wait_for_samples now returns whether any sample was rendering, and the
helper draws and waits until a frame leaves none rendering. Only test
code changes: wait_for_samples is cfg(test) and open_menu_with is a test
helper.

Diagnosis and approach by Taha-Mahmoodi in #7093.
2026-11-13 12:15:29 -08:00
..
2026-11-12 17:40:13 -08:00