diff --git a/common/src/app/common/types/path/segment.cljc b/common/src/app/common/types/path/segment.cljc index fbe90b7c92..8ff37a8e81 100644 --- a/common/src/app/common/types/path/segment.cljc +++ b/common/src/app/common/types/path/segment.cljc @@ -777,7 +777,7 @@ content as PathData instance." [content transform] (if (some? transform) - (impl/-transform content transform) + (impl/-transform (impl/path-data content) transform) content)) (defn move-content diff --git a/common/src/app/common/types/path/shape_to_path.cljc b/common/src/app/common/types/path/shape_to_path.cljc index fc7a07f859..8641ee556e 100644 --- a/common/src/app/common/types/path/shape_to_path.cljc +++ b/common/src/app/common/types/path/shape_to_path.cljc @@ -168,7 +168,7 @@ child-as-paths)] (-> group (assoc :type :path) - (assoc :content content) + (assoc :content (path.impl/path-data content)) (merge head-data) (d/without-keys dissoc-attrs)))) @@ -184,7 +184,8 @@ (:bool-type shape) content - (bool/calculate-content bool-type (map :content children))] + (-> (bool/calculate-content bool-type (map :content children)) + (path.impl/path-data))] (-> shape (assoc :type :path)