0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Fix wrong function call.

This commit is contained in:
Andrey Antukh 2016-01-22 19:35:34 +02:00
parent a2da98f7ab
commit 8e0e725d80

View file

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