From db84eb365b9cda6e50db7d9b200de115ed8680cd Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 5 Jun 2025 08:42:57 +0200 Subject: [PATCH] :bug: Fix strokes migration (#6632) --- common/src/app/common/files/migrations.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/files/migrations.cljc b/common/src/app/common/files/migrations.cljc index 34c96cc64..d262d0441 100644 --- a/common/src/app/common/files/migrations.cljc +++ b/common/src/app/common/files/migrations.cljc @@ -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)