penpot/frontend/test/frontend_tests
Pablo Alba 5649ebc735 🐛 Fix integrity error on copy-paste swapped component
When copying a component containing a swapped nested component, the
copy operation was not preserving the swap information correctly. This
caused referential integrity errors when pasting the component.

The fix detects when a subinstance head's shape-ref is being advanced
during copy and preserves the original shape-ref as a swap-slot. This
ensures referential integrity is maintained when the copy is pasted in
a context where the parent's near main is reachable.

Closes #9547
2026-05-18 14:14:28 +02:00
..
2025-01-16 15:31:18 +01:00
2024-01-08 09:32:50 +01:00
2025-12-11 12:02:34 +01:00
2025-12-11 12:02:34 +01:00
2024-01-08 09:32:50 +01:00