From 9b8ec1ac02cde2ab868056e1b65e97dddf6382ab Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 3 Dec 2020 19:22:07 +0100 Subject: [PATCH] :bug: Fix text exportation on svg with colors. --- frontend/src/app/main/ui/shapes/text.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/shapes/text.cljs b/frontend/src/app/main/ui/shapes/text.cljs index bfffea013..4578692b2 100644 --- a/frontend/src/app/main/ui/shapes/text.cljs +++ b/frontend/src/app/main/ui/shapes/text.cljs @@ -78,7 +78,7 @@ [shape] (let [colors (->> shape :content (tree-seq map? :children) - (into #{} (comp (map :fill) (filter string?))))] + (into #{} (comp (map :fill-color) (filter string?))))] (if (empty? colors) "#000000" (apply str (interpose "," colors)))))