better inventory experience.

This commit is contained in:
2014-12-14 21:30:06 -08:00
parent 88b9774c85
commit 089f9954be
2 changed files with 5 additions and 5 deletions

View File

@@ -85,7 +85,7 @@
(assoc entities :highlighted-item nil))))
:on-touch-up (fn [screen [entities]]
(when (:shown? entities)
(when (and (:shown? entities) (= (button-code :left) (:button screen)))
(let [{:keys [highlighted-item]} entities
room-entities (-> @(resolve 'advent.screens.scene/scene)
:entities