0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 08:11:30 -05:00

Fix stroke and color change bug.

This commit is contained in:
Andrey Antukh 2016-02-03 19:20:40 +02:00
parent fb2fa605d2
commit 12a2da7c56

View file

@ -229,7 +229,7 @@
(-apply-update [_ state]
(update-in state [:shapes-by-id sid]
merge
{:stroke-type type}
(when type {:stroke-type type})
(when width {:stroke-width width})
(when color {:stroke color})
(when opacity {:stroke-opacity opacity})))))