mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A border radius token names the corners as a flipped shape shows them: applying and propagating it mirror each corner to the one the shape stores. A radius edit took off the token of the corner it stores, so on a flipped shape it took off the wrong one, and a later token edit set the corner given by hand. The sidebar's single-corner edit mirrored the corner too but wrote only the corner it names, so on a flipped rectangle it changed nothing. A radius edit takes off the token of the corner the shape shows, with the same mirroring, and the sidebar's single-corner edit writes any corner. The harness model does the same. Tests: unapply-the-token-of-the-corner-a-flipped-shape-shows; a-token-edit-sets-the-corners-of-a-flipped-copy-as-it-shows-them. The benchmark of the previous commit covers this one. AI-assisted-by: claude-opus-5-5