🐛 [LIBRARIES & TEMPLATES] Missing fills and texts

This commit is contained in:
Alejandro Alonso 2022-04-08 09:30:49 +02:00 committed by Andrés Moya
parent 62f55a47c5
commit c766e08027
6 changed files with 25 additions and 12 deletions

View file

@ -334,7 +334,7 @@
;; There are no strokes and a blur
(and (:blur shape) (-> shape :blur :hidden not) (not (cph/frame-shape? shape)) (empty? (:strokes shape))))
(obj/set! "filter" (dm/fmt "url(#filter_%)" render-id)))
(obj/set! "filter" (dm/fmt "url(#filter_%)" render-id)))
svg-defs (:svg-defs shape {})
svg-attrs (:svg-attrs shape {})
@ -380,7 +380,10 @@
(cond-> (obj/merge! props fill-props)
(some? style)
(obj/set! "style" style))))))
(obj/set! "style" style)))
:else
props)))
(defn build-stroke-props [position child value render-id]
(let [props (-> (obj/get child "props")