0
Fork 0
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:
Alejandro Alonso 2022-04-08 13:39:26 +02:00 committed by Andrés Moya
parent c766e08027
commit 5fc27a7594
2 changed files with 3 additions and 5 deletions

View file

@ -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 {})

View file

@ -201,9 +201,7 @@
content (cond-> content
plain-colors?
(remap-colors color-mapping))
]
(remap-colors color-mapping))]
[:foreignObject
{:x x