mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 04:08:23 +02:00
🐛 Fix on cut and paste a component, a bad frame-id is set
This commit is contained in:
parent
0370e8083a
commit
45072c19a2
2 changed files with 7 additions and 5 deletions
|
@ -418,7 +418,7 @@
|
|||
frame-id)
|
||||
|
||||
restore-component
|
||||
#(let [restore (dwlh/prepare-restore-component changes library-data (:component-id component-root) it page delta (:id component-root) parent-id)]
|
||||
#(let [restore (dwlh/prepare-restore-component changes library-data (:component-id component-root) it page delta (:id component-root) parent-id frame-id)]
|
||||
[(:shape restore) (:changes restore)])
|
||||
|
||||
[_shape changes]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue