mirror of
https://github.com/penpot/penpot.git
synced 2025-07-31 20:18:20 +02:00
🐛 Fixes problems with multiple values in fill and stroke
This commit is contained in:
parent
e7d6a54907
commit
8fd8bc4537
5 changed files with 57 additions and 24 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue