0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 07:16:07 -05:00

🐛 Fix error when adding gradient stroke to shape

This commit is contained in:
Alejandro Alonso 2022-03-25 12:56:55 +01:00 committed by Andrey Antukh
parent 00d851998b
commit 1db9b04bfd

View file

@ -259,7 +259,11 @@
(assoc :stroke-color-gradient (:gradient attrs))
(contains? attrs :opacity)
(assoc :stroke-opacity (:opacity attrs)))
(assoc :stroke-opacity (:opacity attrs))
:always
(d/without-nils))
attrs (merge attrs color-attrs)]
(rx/of (dch/update-shapes ids (fn [shape]