0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00

🐛 Fix problem with snap to frame guides

This commit is contained in:
alonso.torres 2024-03-15 14:18:17 +01:00
parent 895f649ef1
commit b097f73b13

View file

@ -29,6 +29,7 @@
(let [match-bounds?
(fn [[_ data]]
(some #(or (= :guide (:type %))
(= :layout (:type %))
(grc/contains-point? bounds (:pt %))) data))]
(->> (into []
(comp (mapcat #(sd/query @state page-id frame-id axis %))