mirror of
https://github.com/penpot/penpot.git
synced 2026-04-03 18:02:39 +02:00
* 🐛 Fix content attribute sync group resolution by shape type The :content attribute was mapped to a single sync group (:content-group) but it is used by both path and text shapes with different synchronization needs. This caused incorrect component synchronization when editing content on path shapes, as they should sync under :geometry-group instead of :content-group. Changes: - Make sync-attrs allow type-dependent group mapping via maps - Add resolve-sync-group and resolve-sync-groups helper functions - Update all sync-attr lookups to use shape type for proper resolution - Fix touched checks to handle multiple possible sync groups Signed-off-by: Andrey Antukh <niwi@niwi.nz> * ✨ Make PR feedback changes * 🔥 Remove unused function --------- Signed-off-by: Andrey Antukh <niwi@niwi.nz>