0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Fixed problem with center shapes

This commit is contained in:
alonso.torres 2020-12-07 15:05:51 +01:00
parent 1b9aae3bbd
commit 24e998ca2e

View file

@ -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"