mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 20:27:05 -06:00
the_canvas_hands_the_tool_cursor_to_the_os_and_idles_while_the_pointer_rests asserts that the window asks for no repaint once the pointer rests. On a loaded machine a canvas frame takes longer than 8 ms, so later frames go to the render worker, and a worker frame that finishes during the idle frames asks for a repaint (repaint delay 0, cause render_worker.rs:63). The test now sets canvas.worker_started, as the canvas tests do, so every frame renders on the test thread.