mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A bool whose only child was a group kept, after ungrouping that group, the content it had made of the group: the outlines of its shapes one after the other, not the boolean result of them. The next refit of the bool, such as the undo of a later edit of one of its shapes, recomputed it, so that undo did not give back the state before the edit. An ungroup now refits the group or bool around the ungrouped shape, with the undo values of the refit. Tests: `groups-test/ungrouping-a-group-in-a-bool-combines-its-shapes-again` (fails before the fix), generated `an-ungroup-in-a-bool-combines-its-shapes-again`. The ungroup is outside the paths the component benchmark measures; it is not run. AI-assisted-by: claude-opus-5-5