mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
Remove styles from svg icon rendering on layers toolbox.
This commit is contained in:
parent
c85a25b75e
commit
ae31dc5aba
@ -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…
x
Reference in New Issue
Block a user