mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
Merge pull request #6549 from penpot/niwinz-staging-hotfix-1
🐛 Fix incorrect relink operation for stroke image
This commit is contained in:
commit
ac0b74e11a
@ -626,6 +626,9 @@
|
|||||||
(map? (:fill-image form))
|
(map? (:fill-image form))
|
||||||
(update-in [:fill-image :id] lookup-index)
|
(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.
|
;; This covers old shapes and the new :fills.
|
||||||
(uuid? (:fill-color-ref-file form))
|
(uuid? (:fill-color-ref-file form))
|
||||||
(update :fill-color-ref-file lookup-index)
|
(update :fill-color-ref-file lookup-index)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user