mirror of
https://github.com/penpot/penpot.git
synced 2025-02-09 08:38:15 -05:00
Remove styles from svg icon rendering on layers toolbox.
This commit is contained in:
parent
c85a25b75e
commit
ae31dc5aba
1 changed files with 2 additions and 4 deletions
|
@ -131,8 +131,6 @@
|
||||||
[{:keys [data id view-box] :as shape}]
|
[{:keys [data id view-box] :as shape}]
|
||||||
(let [key (str "icon-svg-" id)
|
(let [key (str "icon-svg-" id)
|
||||||
view-box (apply str (interpose " " view-box))
|
view-box (apply str (interpose " " view-box))
|
||||||
props {:view-box view-box :id key :key key}
|
props {:view-box view-box :id key :key key}]
|
||||||
attrs (merge props
|
|
||||||
(extract-style-attrs shape))]
|
|
||||||
(html
|
(html
|
||||||
[:svg attrs data])))
|
[:svg props data])))
|
||||||
|
|
Loading…
Add table
Reference in a new issue