mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 16:21:40 +02:00
Fix stroke and color change bug.
This commit is contained in:
parent
fb2fa605d2
commit
12a2da7c56
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue