better inventory experience.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user