mirror of
https://github.com/penpot/penpot.git
synced 2025-02-14 19:19:09 -05:00
🐛 Preserve path when migrating graphics and add them in a specific group
This commit is contained in:
parent
f66228c19d
commit
391b859948
1 changed files with 4 additions and 0 deletions
|
@ -553,6 +553,10 @@
|
||||||
(create-shapes-for-svg mobj file-id (:objects page) position)
|
(create-shapes-for-svg mobj file-id (:objects page) position)
|
||||||
(create-shapes-for-bitmap mobj 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
|
changes
|
||||||
(-> (fcb/empty-changes nil)
|
(-> (fcb/empty-changes nil)
|
||||||
(fcb/set-save-undo? false)
|
(fcb/set-save-undo? false)
|
||||||
|
|
Loading…
Add table
Reference in a new issue