mirror of
https://github.com/penpot/penpot.git
synced 2026-05-02 22:58:35 +00:00
🐛 Fix problem with snap to frame guides
This commit is contained in:
parent
895f649ef1
commit
b097f73b13
@ -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 %))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user