From 24e998ca2e8cd8a0842c680590a13cf55fb86c9d Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Mon, 7 Dec 2020 15:05:51 +0100 Subject: [PATCH] :bug: Fixed problem with center shapes --- common/app/common/geom/shapes/common.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/common/geom/shapes/common.cljc b/common/app/common/geom/shapes/common.cljc index 98dcf12574..49abc5943d 100644 --- a/common/app/common/geom/shapes/common.cljc +++ b/common/app/common/geom/shapes/common.cljc @@ -42,7 +42,7 @@ (defn center-shape "Calculate the center of the shape." [shape] - (center-points (:points shape))) + (center-rect (:selrect shape))) (defn make-centered-rect "Creates a rect given a center and a width and height"