mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 09:42:01 +00:00
The component watcher drops a translation commit that moves only shapes outside mains or whole mains. It found the main of each moved shape with `get-component-shape`, which stops at the nearest copy head, so a copy placed in a main, or a shape inside one, looked like a shape outside any main: moving it with the WASM engine on, whose drags commit as translations, left the main's copies where they were. The watcher now walks up through nested copies to the main instance the shape lies in. The benchmark covers JVM code; this change is ClojureScript only, so it is not run. AI-assisted-by: claude-opus-5-5