Remove useless coersion to vector.

This commit is contained in:
Andrey Antukh 2016-01-10 23:18:37 +02:00
parent 09c383a1bd
commit 936fd3b070

View File

@ -164,7 +164,7 @@
(-apply-watch [_ state]
(let [selected (get-in state [:workspace :selected])]
(rx/from-coll
(into [(deselect-all)] (mapv #(delete-shape %) selected)))))))
(into [(deselect-all)] (map #(delete-shape %) selected)))))))
(defn initialize
"Initialize the workspace state."