From 55b1417df8ca6b79b8d432998493f42c24c5ec56 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 19 Feb 2021 11:33:43 +0100 Subject: [PATCH] :bug: Fixes problems with new paths --- frontend/src/app/main/data/workspace/drawing/path.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/data/workspace/drawing/path.cljs b/frontend/src/app/main/data/workspace/drawing/path.cljs index c73014f1e..a1f2a4a29 100644 --- a/frontend/src/app/main/data/workspace/drawing/path.cljs +++ b/frontend/src/app/main/data/workspace/drawing/path.cljs @@ -90,8 +90,8 @@ path))) (defn- points->components [shape content] - (let [transform (:transform shape) - transform-inverse (:transform-inverse shape) + (let [transform (:transform shape (gmt/matrix)) + transform-inverse (:transform-inverse shape (gmt/matrix)) center (gsh/center-shape shape) base-content (gsh/transform-content content