mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
Restore the original cell metadata after replacing a child in place, and ignore touched while assigning the new instance. Later main cell moves can then reach the swapped copy. Fix F128. The regression failed before the fix. Swap suite: 37 tests, 137 assertions. Benchmark ratios against Phase 1e: main 10/100/1000 0.46/0.52/0.53; three levels 0.47; chain 0.51; library 0.51; many shapes 0.49; variant switch 0.61. No regression flag. AI-assisted-by: GPT-6