Skip to content

Commit 5b5d427

Browse files
committed
fixed z key response
1 parent 8feded1 commit 5b5d427

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cljs/astrocats/core.cljs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
(reset! z-state :pressed))
3131
(reset! last-z (now))
3232
(js/setTimeout (fn []
33-
(when (<= (+ @last-z 20) (now))
33+
(when (<= (+ @last-z 4) (now))
3434
(reset! z-state :release)))
35-
30))
35+
5))
3636

3737
(defn listen-start! []
3838
(reset! ws (socket/socket

0 commit comments

Comments
 (0)