compact converted 0.18 grid layouts in render order

0.18 stored every new grid tile at y 0 and left gaps behind removed cameras, relying on the grid's vertical compaction at render to stack tiles in render order (Birdseye, then camera order). The current grid renders without compaction and conversion only rescaled the coordinates, so upgraded groups with more than three tiles showed tiles on top of each other, often covering Birdseye, and gaps that 0.18 never displayed. Conversion now sorts tiles by render order and compacts them once, so each layout opens as 0.18 showed it.
This commit is contained in:
Josh Hawkins
2026-12-03 09:15:05 -06:00
parent 582ec9b92f
commit 18bbd2f0ae
5 changed files with 199 additions and 21 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
* Tiles measured in separate round-trips can straddle that reflow and disagree
* on scale, so cameraBoxes() takes every measurement in one evaluate.
*
* Used by live-grid-aspect-modes.spec.ts and masonry-live-grid.spec.ts.
* Used by live-grid-aspect-modes.spec.ts, live-grid-legacy-layouts.spec.ts and
* masonry-live-grid.spec.ts.
*/
import { expect, type Page } from "@playwright/test";