mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 14:56:43 +02:00
⚡ Improvements after review
This commit is contained in:
parent
565046aaa6
commit
7564f27f95
9 changed files with 12 additions and 12 deletions
|
@ -483,7 +483,7 @@
|
|||
color {:color (:color attrs)
|
||||
:opacity (-> attrs :opacity d/parse-double)}
|
||||
|
||||
params (-> (d/without-keys attrs [:color :opacity :display :type])
|
||||
params (-> (dissoc attrs :color :opacity :display :type)
|
||||
(d/update-when :size d/parse-double)
|
||||
(d/update-when :item-length d/parse-double)
|
||||
(d/update-when :gutter d/parse-double)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue