mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 17:50:38 +00:00
A `:simple` padding or margin type repeats the top and right values on the bottom and left, as `ctl/paddings` and `ctl/child-margins` read them, but the WASM engine received the four stored values. A board whose type was switched to simple after editing its sides laid out its children with the stale bottom and left values in the WASM engine only, so moving one child shifted all of them and marked copies as touched. Both the shape payload and the per-attribute calls now send the values the layout functions return. The benchmark covers JVM code; this change is ClojureScript only, so it is not run. AI-assisted-by: claude-opus-5-5