0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 23:31:21 -05:00

🐛 Fix problem when disabling grid snap

This commit is contained in:
alonso.torres 2022-02-28 16:07:43 +01:00
parent 5d2715dd32
commit a644599b16

View file

@ -63,14 +63,14 @@
:pt %)))
grid-x-data (->> (gg/grid-snap-points frame :x)
(mapv #(array-map :type :grid-x
(mapv #(array-map :type :layout
:id frame-id
:pt %)))
grid-y-data (->> (gg/grid-snap-points frame :y)
(mapv #(array-map :type :grid-y
:id frame-id
:pt %)))]
(mapv #(array-map :type :layout
:id frame-id
:pt %)))]
(-> page-data
;; Update root frame information