item interactions are beginning to form.
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
[i (assoc (label text (style :label font (color :white))) :x 30 :y (* 30 i))]))
|
||||
(assoc :state {:object nil :callback callback :choices choices}))))
|
||||
|
||||
:on-touch-down (fn [screen [entities]]
|
||||
:on-touch-up (fn [screen [entities]]
|
||||
(let [{:keys [x y]} (input->screen screen {:x (:input-x screen) :y (:input-y screen)})]
|
||||
(when (seq entities)
|
||||
(when (< y (* 30 (dec (count entities))))
|
||||
|
||||
Reference in New Issue
Block a user