mirror of
https://github.com/penpot/penpot.git
synced 2025-05-17 13:46:10 +02:00
🐛 Fix problem with shadows in text for Safari
This commit is contained in:
parent
fcd232aa35
commit
3a2677a91a
2 changed files with 6 additions and 1 deletions
|
@ -98,7 +98,11 @@
|
|||
(obj/set! "fill" (str "url(#fill-" index "-" render-id ")")))}
|
||||
(cond-> browser-props
|
||||
(obj/merge! browser-props)))
|
||||
shape (assoc shape :fills (:fills data))
|
||||
shape (-> shape
|
||||
(assoc :fills (:fills data))
|
||||
;; The text elements have the shadow and blur already applied in the
|
||||
;; group parent.
|
||||
(dissoc :shadow :blur))
|
||||
|
||||
;; Need to create new render-id per text-block
|
||||
render-id (dm/str render-id "-" index)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue