mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 18:25:34 +01:00
The Layers panel built its row order again on every selection change: each change made a new Tracked for the rows, and the rows reported no order revision, so the panel asked every row for the rows inside it (7 calls for the 6 rows of the new test's document). - LayerRows reports LayerTree::order_revision: a hash of the document, the open rows, Show Layers Only and the isolated node. The selection, the highlighted rows, the current layer and the names are not in it. - refresh_rows writes new rows into the kept Tracked while the document (uid and revert count) stays the same, and makes a new Tracked for another document or after File > Revert. - The craft-libs pin moves from 186a229c8 to aa7e668ec, current craft-libs main, which has craft-libs#4319 (LayerTree::order_revision). The winit rev moves to 0dfcec0eb, as craft-libs pins it; egui stays at 14c39fed1. xtask pdf-deps checks the new rev. craft-nightly keeps the rev main pins it at. Two tests failed on the new craft-libs: - canvas::tests::a_selection_drag_draws_its_marks_in_the_frame_the_pointer_moves: since craft-libs#4143 a frame runs one pass where it ran two, and the bounding box, Live Corners, hollow corners and shape widgets were drawn before the tool host took the frame's pointer event, so the box showed at the old corner. They are now drawn after it, into paint slots kept in their old order. - tests::nativemenu::applying_a_dialog_preview_reads_the_menus: since craft-libs#4350 the closed dialog's angle field gives up the keys one frame sooner, so the menus are sent again without the text-editing gate within the frames the test ran. The test now waits for the gate and counts the read and that send apart.