0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00

🐛 Fix problem with area selection

This commit is contained in:
alonso.torres 2023-03-07 15:55:39 +01:00
parent 046bd59726
commit 1643287775

View file

@ -134,7 +134,7 @@
(and (d/not-empty? (:shapes shape)) (and (d/not-empty? (:shapes shape))
(gsh/rect-contains-shape? rect shape)) (gsh/rect-contains-shape? rect shape))
(and (empty? (:shapes shape)) (and (empty? (:shapes shape))
(gsh/overlaps? shape rect))1))) (gsh/overlaps? shape rect)))))
overlaps? overlaps?
(fn [shape] (fn [shape]