mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
Settle a nested swap's untouched constraint group from the replaced position, including fixed-scroll. Carry compatible switch overrides first so an inherited position cannot discard an authored constraint override. Cover F224's reduced history in common and the async frontend, both constraint axes, absent position fields, compatible carry and exact undo. The complete original history and browser ShapeProxy replay also pass. Validation: focused swap/variant/golden tests (123 tests, 1,764 assertions), full common JVM/JS, frontend, backend and exporter suites; lint and format. Golden data is unchanged. Benchmark ratios against the unchanged baseline, with no regression flags: mains 10/100/1,000: 0.53/0.58/0.63; three levels: 0.56; chain: 0.55; library: 0.56; many shapes: 0.48; variant switch: 0.65. The baseline uses another machine/JVM, so ratios are rough comparisons. AI-assisted-by: GPT-6