From d02329115acc7cd40d681f76daea1347231c8dd1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 9 Aug 2023 19:20:55 +0200 Subject: [PATCH] :bug: Fix incorrect position data calculation on generating thumbnails Only one change line, but it took 4 hours of work to find it... --- common/src/app/common/geom/shapes/transforms.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/app/common/geom/shapes/transforms.cljc b/common/src/app/common/geom/shapes/transforms.cljc index 587843edab..5c451fb06c 100644 --- a/common/src/app/common/geom/shapes/transforms.cljc +++ b/common/src/app/common/geom/shapes/transforms.cljc @@ -313,7 +313,7 @@ (update shape :bool-content gpa/transform-content transform-mtx) shape) shape (if (= type :text) - (update shape :position-data move-position-data transform-mtx) + (update shape :position-data transform-position-data transform-mtx) shape) shape (if (= type :path) (update shape :content gpa/transform-content transform-mtx)