🐛 Fixes problems with multiple values in fill and stroke

This commit is contained in:
alonso.torres 2021-02-03 12:10:43 +01:00 committed by Hirunatan
parent e7d6a54907
commit 8fd8bc4537
5 changed files with 57 additions and 24 deletions

View file

@ -109,10 +109,12 @@
:else "transparent")))
(defn multiple? [{:keys [value color gradient]}]
(defn multiple? [{:keys [id file-id value color gradient]}]
(or (= value :multiple)
(= color :multiple)
(= gradient :multiple)
(= id :multiple)
(= file-id :multiple)
(and gradient color)))
(defn parse-color [^string color-str]