mirror of
https://github.com/penpot/penpot.git
synced 2026-09-14 16:09:01 +00:00
Fix stroke and color change bug.
This commit is contained in:
parent
fb2fa605d2
commit
12a2da7c56
@ -229,7 +229,7 @@
|
|||||||
(-apply-update [_ state]
|
(-apply-update [_ state]
|
||||||
(update-in state [:shapes-by-id sid]
|
(update-in state [:shapes-by-id sid]
|
||||||
merge
|
merge
|
||||||
{:stroke-type type}
|
(when type {:stroke-type type})
|
||||||
(when width {:stroke-width width})
|
(when width {:stroke-width width})
|
||||||
(when color {:stroke color})
|
(when color {:stroke color})
|
||||||
(when opacity {:stroke-opacity opacity})))))
|
(when opacity {:stroke-opacity opacity})))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user