From 198194648089d295e9c55de633a0000517a02790 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 23 Apr 2025 15:08:04 +0200 Subject: [PATCH] :bug: Fix incorrect path content handling on converting from shape --- common/src/app/common/types/path/shape_to_path.cljc | 4 ++++ 1 file changed, 4 insertions(+) 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 860ac55a65..fc7a07f859 100644 --- a/common/src/app/common/types/path/shape_to_path.cljc +++ b/common/src/app/common/types/path/shape_to_path.cljc @@ -15,6 +15,7 @@ [app.common.geom.shapes.corners :as gso] [app.common.types.path.bool :as bool] [app.common.types.path.helpers :as helpers] + [app.common.types.path.impl :as path.impl] [app.common.types.path.segment :as segm] [app.common.types.shape.radius :as ctsr])) @@ -213,6 +214,9 @@ (circle->path shape) (rect->path shape)) + content + (path.impl/from-plain content) + ;; Apply the transforms that had the shape transform (cond-> (:transform shape (gmt/matrix))