Improvements after review

This commit is contained in:
alonso.torres 2021-12-01 14:39:02 +01:00
parent 565046aaa6
commit 7564f27f95
9 changed files with 12 additions and 12 deletions

View file

@ -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)