mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
The composable model carried a switched copy's geometry onto the new head as a plain value, while the other carried shapes keep the parent whose later resizes size them. Resizing the copy that holds the head then scaled it through its constraint in production, and the model expected its old size. The head now carries its geometry with its parent too, its size only: its place is its position's. Test: generated `a-switched-head-in-a-copy-scales-with-its-parent`. Harness only; the benchmark is not run. Also in this commit: - Draw 100 programs per random property on the JVM. The coverage check of a random composition test asks each kind for 0.5% of the run's changes. At 50 programs a seed could draw a kind too few times: the stale library property drew its child removal 4 times, all changing state, and failed its check while its property passed. At 100 programs that seed passes, and the shares vary less. AI-assisted-by: claude-opus-5-5