mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
🐛 Blur not working
This commit is contained in:
parent
c766e08027
commit
5fc27a7594
2 changed files with 3 additions and 5 deletions
|
@ -332,8 +332,8 @@
|
|||
;; There are any shadows
|
||||
(and (seq (->> (:shadow shape) (remove :hidden))) (not (cph/frame-shape? shape)))
|
||||
|
||||
;; There are no strokes and a blur
|
||||
(and (:blur shape) (-> shape :blur :hidden not) (not (cph/frame-shape? shape)) (empty? (:strokes shape))))
|
||||
;; There is a blur
|
||||
(and (:blur shape) (-> shape :blur :hidden not) (not (cph/frame-shape? shape))))
|
||||
(obj/set! "filter" (dm/fmt "url(#filter_%)" render-id)))
|
||||
|
||||
svg-defs (:svg-defs shape {})
|
||||
|
|
|
@ -201,9 +201,7 @@
|
|||
|
||||
content (cond-> content
|
||||
plain-colors?
|
||||
(remap-colors color-mapping))
|
||||
|
||||
]
|
||||
(remap-colors color-mapping))]
|
||||
|
||||
[:foreignObject
|
||||
{:x x
|
||||
|
|
Loading…
Add table
Reference in a new issue