From 28d6cf6f51e93416c5528945e798cd1283495362 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 7 Mar 2024 15:17:23 +0100 Subject: [PATCH] :bug: Fix import stroke attached library color --- CHANGES.md | 1 + backend/src/app/binfile/common.clj | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index e24b3f1da..a1b9867c7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -126,6 +126,7 @@ - Strange cursor behavior after clicking viewport with text tool [Taiga #4363](https://tree.taiga.io/project/penpot/issue/4363) - Selected color affects all of them [Taiga #5285](https://tree.taiga.io/project/penpot/issue/5285) - Fix problem with shadow negative spread [Github #3421](https://github.com/penpot/penpot/issues/3421) +- Fix problem with linked colors to strokes [Github #3522](https://github.com/penpot/penpot/issues/3522) ## 1.19.5 diff --git a/backend/src/app/binfile/common.clj b/backend/src/app/binfile/common.clj index d5a4241e2..ace98c80e 100644 --- a/backend/src/app/binfile/common.clj +++ b/backend/src/app/binfile/common.clj @@ -277,7 +277,7 @@ (update :fill-color-ref-file lookup-index) ;; This covers the old shapes and the new :strokes - (uuid? (:storage-color-ref-file form)) + (uuid? (:stroke-color-ref-file form)) (update :stroke-color-ref-file lookup-index) ;; This covers all text shapes that have typography referenced