mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix problem when disabling grid snap
This commit is contained in:
parent
5d2715dd32
commit
a644599b16
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user