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:
parent
895f649ef1
commit
b097f73b13
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue