mirror of
https://github.com/penpot/penpot.git
synced 2025-07-27 23:07:18 +02:00
🐛 Fix update layout on component restore (#6348)
This commit is contained in:
parent
a72c07b657
commit
bd208c31e2
2 changed files with 8 additions and 2 deletions
|
@ -12,6 +12,7 @@
|
||||||
- Fix several issues with internal srepl helpers
|
- Fix several issues with internal srepl helpers
|
||||||
- Fix unexpected exception on template import from libraries
|
- Fix unexpected exception on template import from libraries
|
||||||
- Fix incorrect uuid parsing from different parts of code
|
- Fix incorrect uuid parsing from different parts of code
|
||||||
|
- Fix update layout on component restore [Taiga #10637](https://tree.taiga.io/project/penpot/issue/10637)
|
||||||
|
|
||||||
## 2.6.1
|
## 2.6.1
|
||||||
|
|
||||||
|
|
|
@ -586,8 +586,13 @@
|
||||||
ldata (dsh/lookup-file-data state library-id)
|
ldata (dsh/lookup-file-data state library-id)
|
||||||
|
|
||||||
changes (-> (pcb/empty-changes it)
|
changes (-> (pcb/empty-changes it)
|
||||||
(cll/generate-restore-component ldata component-id library-id page objects))]
|
(cll/generate-restore-component ldata component-id library-id page objects))
|
||||||
(rx/of (dch/commit-changes changes))))))
|
|
||||||
|
frames
|
||||||
|
(->> changes :redo-changes (keep :frame-id))]
|
||||||
|
|
||||||
|
(rx/of (dch/commit-changes changes)
|
||||||
|
(ptk/data-event :layout/update {:ids frames}))))))
|
||||||
|
|
||||||
|
|
||||||
(defn restore-components
|
(defn restore-components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue