From 17ea8300ed888cdaec2e9f6f68948526ce280081 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 31 Jul 2023 15:58:32 +0200 Subject: [PATCH] :bug: Accept nil values for :fill-color-gradient attr --- common/src/app/common/types/shape.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/types/shape.cljc b/common/src/app/common/types/shape.cljc index ae1687e91e..3127883d99 100644 --- a/common/src/app/common/types/shape.cljc +++ b/common/src/app/common/types/shape.cljc @@ -75,7 +75,7 @@ [:map {:title "Fill"} [:fill-color {:optional true} ::ctc/rgb-color] [:fill-opacity {:optional true} ::sm/safe-number] - [:fill-color-gradient {:optional true} ::ctc/gradient] + [:fill-color-gradient {:optional true} [:maybe ::ctc/gradient]] [:fill-color-ref-file {:optional true} [:maybe ::sm/uuid]] [:fill-color-ref-id {:optional true} [:maybe ::sm/uuid]]])