From 28658cae7390c108a1a04a6d3f13d3eb303e3845 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 14 Jan 2021 08:21:05 +0100 Subject: [PATCH] :bug: Fixed remove fill to transparent color --- frontend/src/app/main/ui/shapes/attrs.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/shapes/attrs.cljs b/frontend/src/app/main/ui/shapes/attrs.cljs index e536ea6e41..500b7396d2 100644 --- a/frontend/src/app/main/ui/shapes/attrs.cljs +++ b/frontend/src/app/main/ui/shapes/attrs.cljs @@ -34,7 +34,7 @@ (:fill-color-gradient shape) (obj/merge! attrs #js {:fill (str/format "url(#%s)" fill-color-gradient-id)}) - (or (:fill-color shape) (:fill-opacity shape)) + (not (:fill-color-gradient shape)) (obj/merge! attrs #js {:fill (or (:fill-color shape) "transparent") :fillOpacity (:fill-opacity shape nil)})