mirror of
https://github.com/penpot/penpot.git
synced 2025-05-13 01:36:39 +02:00
Add debug attrs to group shape element.
This commit is contained in:
parent
2124aba21f
commit
aa5cbcce0d
1 changed files with 2 additions and 4 deletions
|
@ -43,10 +43,8 @@
|
||||||
(let [key (str "group-" id)
|
(let [key (str "group-" id)
|
||||||
tfm (-> (merge shape attrs)
|
tfm (-> (merge shape attrs)
|
||||||
(svg/calculate-transform))
|
(svg/calculate-transform))
|
||||||
attrs {:id key :key key :transform tfm}
|
attrs (merge {:id key :key key :transform tfm}
|
||||||
attrs (-> (extract-attrs shape)
|
(make-debug-attrs shape))
|
||||||
(make-debug-attrs)
|
|
||||||
(merge attrs))
|
|
||||||
shapes-by-id (get @st/state :shapes-by-id)]
|
shapes-by-id (get @st/state :shapes-by-id)]
|
||||||
(html
|
(html
|
||||||
[:g attrs
|
[:g attrs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue