🐛 Fix problem with filter in old version

This commit is contained in:
alonso.torres 2023-09-28 11:08:57 +02:00 committed by Andrés Moya
parent bf623338ff
commit db149e9c09

View file

@ -390,7 +390,7 @@
props (if (cph/frame-shape? shape) props (if (cph/frame-shape? shape)
props props
(if (or (some? (->> shape-shadow (remove :hidden) seq)) (if (or (some? (->> shape-shadow (remove :hidden) seq))
(not ^boolean (:hidden shape-blur))) (and (some? shape-blur) (not ^boolean (:hidden shape-blur))))
(obj/set! props "filter" (dm/fmt "url(#filter-%)" render-id)) (obj/set! props "filter" (dm/fmt "url(#filter-%)" render-id))
props)) props))