0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

Fix selrect bug with grouped shapes.

This commit is contained in:
Andrey Antukh 2016-01-24 00:39:21 +02:00
parent 708305c66d
commit 3fbe465b99

View file

@ -117,6 +117,7 @@
(filter #(= (:page %) pageid))
(remove :hidden)
(remove :blocked)
(map sh/resolve-position)
(filter #(sh/contained-in? % selrect))
(map :id))]
(->> (into #{} xf (vals (:shapes-by-id state)))