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"