mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 14:21:37 +02:00
♻️ Renamed layout to grid and some refactors
This commit is contained in:
parent
235e196094
commit
23ca77fe3a
10 changed files with 203 additions and 171 deletions
|
@ -14,7 +14,7 @@
|
|||
[uxbox.util.geom.shapes :as gsh]
|
||||
[uxbox.util.geom.point :as gpt]))
|
||||
|
||||
(defn- frame-snap-points [{:keys [x y width height layouts] :as frame}]
|
||||
(defn- frame-snap-points [{:keys [x y width height] :as frame}]
|
||||
(into #{(gpt/point x y)
|
||||
(gpt/point (+ x (/ width 2)) y)
|
||||
(gpt/point (+ x width) y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue