mirror of
https://github.com/penpot/penpot.git
synced 2026-11-18 16:12:24 +00:00
Clicking a set's row in the theme editor threw an assertion error and left the set as it was: the row passed the set's name to the toggle, which looks the set up by id. The row now uses the checkbox's handler, so the two can't drift apart again. The editor's set and group toggles move into pure functions next to it, with tests. A new spec clicks a set's name to tick and untick it. Signed-off-by: Florian Schroedl <flo.schroedl@gmail.com>