mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 05:10:32 +00:00
Dragging a shape into a board sets its constraints to the default for that place (left/top, or scale inside a group) without marking them touched. A component main on the canvas has no constraints, so the sync saw nil against left/top and wrote nil over the copy. With nested components that sync writes into the middle library, so any change to the inner component, even a 1px move, showed an update banner in every file that uses it. Treat a missing constraint as the default for the placement of the shape being written when comparing during sync. Closes #12719 AI-assisted-by: claude-opus-5-5