🐛 Fix incorrect boolean shape generation on file builder

This commit is contained in:
Andrey Antukh
2025-06-01 10:25:11 +02:00
parent 03e4ca12be
commit 77fa235965

View File

@@ -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)