0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Remove styles from svg icon rendering on layers toolbox.

This commit is contained in:
Andrey Antukh 2016-02-03 18:24:18 +02:00
parent c85a25b75e
commit ae31dc5aba

View file

@ -131,8 +131,6 @@
[{:keys [data id view-box] :as shape}]
(let [key (str "icon-svg-" id)
view-box (apply str (interpose " " view-box))
props {:view-box view-box :id key :key key}
attrs (merge props
(extract-style-attrs shape))]
props {:view-box view-box :id key :key key}]
(html
[:svg attrs data])))
[:svg props data])))