mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix incorrect boolean shape generation on file builder
This commit is contained in:
@@ -294,7 +294,7 @@
|
||||
|
||||
(defn close-group
|
||||
[state]
|
||||
(let [group-id (-> state :parent-stack peek)
|
||||
(let [group-id (-> state ::parent-stack peek)
|
||||
group (get-shape state group-id)
|
||||
children (->> (get group :shapes)
|
||||
(into [] (keep (partial get-shape state)))
|
||||
@@ -347,6 +347,7 @@
|
||||
(let [objects (get-current-objects state)
|
||||
bool (-> group
|
||||
(assoc :type :bool)
|
||||
(assoc :bool-type type)
|
||||
(types.path/update-bool-shape objects))
|
||||
change {:type :mod-obj
|
||||
:id (:id bool)
|
||||
|
||||
Reference in New Issue
Block a user