mirror of
https://github.com/penpot/penpot.git
synced 2026-02-27 23:03:53 +00:00
🐛 Fixed problem with center shapes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user