From 77fa23596503a419591c1ffa353206f6f2340ff0 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sun, 1 Jun 2025 10:25:11 +0200 Subject: [PATCH] :bug: Fix incorrect boolean shape generation on file builder --- common/src/app/common/files/builder.cljc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/src/app/common/files/builder.cljc b/common/src/app/common/files/builder.cljc index f4216da0fe..c0d423a9d7 100644 --- a/common/src/app/common/files/builder.cljc +++ b/common/src/app/common/files/builder.cljc @@ -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)