mirror of
https://github.com/penpot/penpot.git
synced 2025-07-07 21:07:17 +02:00
🐛 Fix error when adding gradient stroke to shape
This commit is contained in:
parent
00d851998b
commit
1db9b04bfd
1 changed files with 5 additions and 1 deletions
|
@ -259,7 +259,11 @@
|
||||||
(assoc :stroke-color-gradient (:gradient attrs))
|
(assoc :stroke-color-gradient (:gradient attrs))
|
||||||
|
|
||||||
(contains? attrs :opacity)
|
(contains? attrs :opacity)
|
||||||
(assoc :stroke-opacity (:opacity attrs)))
|
(assoc :stroke-opacity (:opacity attrs))
|
||||||
|
|
||||||
|
:always
|
||||||
|
(d/without-nils))
|
||||||
|
|
||||||
attrs (merge attrs color-attrs)]
|
attrs (merge attrs color-attrs)]
|
||||||
|
|
||||||
(rx/of (dch/update-shapes ids (fn [shape]
|
(rx/of (dch/update-shapes ids (fn [shape]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue