🐛 Fix strokes migration (#6632)

This commit is contained in:
Alejandro Alonso 2025-06-05 08:42:57 +02:00 committed by GitHub
parent b7f97dbeea
commit db84eb365b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1441,7 +1441,8 @@
(-> stroke
(select-keys cts/stroke-attrs)
(d/update-when :stroke-color-gradient clear-color-gradient)
(d/update-when :stroke-image clear-color-image)))
(d/update-when :stroke-image clear-color-image)
(d/update-when :stroke-style #(if (#{:svg :none} %) :solid %))))
(fix-strokes [strokes]
(->> (map clear-stroke strokes)