mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 03:38: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}]
|
||||
(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])))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user