Merge pull request #6549 from penpot/niwinz-staging-hotfix-1

🐛 Fix incorrect relink operation for stroke image
This commit is contained in:
Alejandro Alonso 2025-05-26 09:50:52 +02:00 committed by GitHub
commit ac0b74e11a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -626,6 +626,9 @@
(map? (:fill-image form))
(update-in [:fill-image :id] lookup-index)
(map? (:stroke-image form))
(update-in [:stroke-image :id] lookup-index)
;; This covers old shapes and the new :fills.
(uuid? (:fill-color-ref-file form))
(update :fill-color-ref-file lookup-index)