mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-12 14:46:03 +00:00
cached_frames_keep_their_scale_during_resize_rotation_and_dpi_changes delivered the worker's frame with a 1 ms render time. The canvas key carries the process-wide placed-document generation, so when another test in the same run made a placed bitmap between the delivery and the next frame, the key no longer matched. With a 1 ms last frame, the next frame rendered on the UI thread over the delivered one, and the "the worker's frame arrived" assertion failed. The delivered frame now reports 50 ms, as the frames before it do, so a moved generation queues the next frame on the controlled worker and the delivered frame stays shown.