mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 20:46:37 +02:00
🐛 Fix duplicate page with component over frame
This commit is contained in:
parent
8488be311e
commit
7c36c76b0d
2 changed files with 2 additions and 1 deletions
|
@ -559,7 +559,7 @@
|
|||
fdata
|
||||
(gpt/point (:x shape) (:y shape))
|
||||
true
|
||||
{:keep-ids? true})
|
||||
{:keep-ids? true :force-frame-id (:frame-id shape)})
|
||||
children (into {} (map (fn [shape] [(:id shape) shape]) new-shapes))
|
||||
objs (assoc objs id new-shape)]
|
||||
(merge objs children)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue