mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
Add debug attrs to group shape element.
This commit is contained in:
@@ -43,10 +43,8 @@
|
||||
(let [key (str "group-" id)
|
||||
tfm (-> (merge shape attrs)
|
||||
(svg/calculate-transform))
|
||||
attrs {:id key :key key :transform tfm}
|
||||
attrs (-> (extract-attrs shape)
|
||||
(make-debug-attrs)
|
||||
(merge attrs))
|
||||
attrs (merge {:id key :key key :transform tfm}
|
||||
(make-debug-attrs shape))
|
||||
shapes-by-id (get @st/state :shapes-by-id)]
|
||||
(html
|
||||
[:g attrs
|
||||
|
||||
Reference in New Issue
Block a user