0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🐛 Preserve path when migrating graphics and add them in a specific group

This commit is contained in:
Andrés Moya 2023-11-20 15:59:04 +01:00 committed by Andrey Antukh
parent f66228c19d
commit 391b859948

View file

@ -553,6 +553,10 @@
(create-shapes-for-svg mobj file-id (:objects page) position)
(create-shapes-for-bitmap mobj position))
shape (assoc shape :name (-> "Graphics"
(cph/merge-path-item (:path mobj))
(cph/merge-path-item (:name mobj))))
changes
(-> (fcb/empty-changes nil)
(fcb/set-save-undo? false)