mirror of
https://github.com/penpot/penpot.git
synced 2025-05-20 00:56:10 +02:00
🐛 Fix problem with boolean and children objects
This commit is contained in:
parent
61c111d5ae
commit
af22fee0c1
3 changed files with 6 additions and 6 deletions
|
@ -104,8 +104,9 @@
|
|||
|
||||
(update-in state path cp/process-changes redo-changes false)
|
||||
|
||||
(catch :default e
|
||||
(vreset! error e)
|
||||
(catch :default err
|
||||
(log/error :js/error err)
|
||||
(vreset! error err)
|
||||
state))))
|
||||
|
||||
ptk/WatchEvent
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
changes
|
||||
(-> (pcb/empty-changes it page-id)
|
||||
(pcb/with-objects objects)
|
||||
(pcb/remove-objects children-ids)
|
||||
(pcb/update-shapes selected #(upsp/convert-to-path % objects)))]
|
||||
(pcb/update-shapes selected #(upsp/convert-to-path % objects))
|
||||
(pcb/remove-objects children-ids))]
|
||||
|
||||
(rx/of (dch/commit-changes changes))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue