fixes: ui scale of inventory,save,close. intersects.

This commit is contained in:
Bryce Covert
2016-12-07 22:23:54 -08:00
parent c81614c5ef
commit 7c905309d8
3 changed files with 51 additions and 36 deletions

View File

@@ -190,7 +190,6 @@
))))))
:on-touch-up (fn [screen entities options]
(println "touched up!")
(let [[x y] (utils/unproject screen options)]
(when (seq (get-in entities [:state :choices]))
(when-let [choice (first (filter #(utils/intersects? % [x y]) (get-in entities [:state :labels])))]