mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
🐛 Fixed problem with center shapes
This commit is contained in:
parent
1b9aae3bbd
commit
24e998ca2e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
(defn center-shape
|
(defn center-shape
|
||||||
"Calculate the center of the shape."
|
"Calculate the center of the shape."
|
||||||
[shape]
|
[shape]
|
||||||
(center-points (:points shape)))
|
(center-rect (:selrect shape)))
|
||||||
|
|
||||||
(defn make-centered-rect
|
(defn make-centered-rect
|
||||||
"Creates a rect given a center and a width and height"
|
"Creates a rect given a center and a width and height"
|
||||||
|
|
Loading…
Add table
Reference in a new issue