don't re-define shortcuts when closing menus
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#85d80621508b287834d102032d7c442e586d321c" into hollywoo/0.0.0/github/85d80621508b287834d102032d7c442e586d321c
|
||||
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/85d80621508b287834d102032d7c442e586d321c"
|
||||
# @install: lix --silent download "gh://github.com/kiss-lang/hollywoo#75902710bb75db763b338cd2fe5e7fc7c73f92f2" into hollywoo/0.0.0/github/75902710bb75db763b338cd2fe5e7fc7c73f92f2
|
||||
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/75902710bb75db763b338cd2fe5e7fc7c73f92f2"
|
||||
-lib kiss
|
||||
-lib kiss-tools
|
||||
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/85d80621508b287834d102032d7c442e586d321c/src/
|
||||
-cp ${HAXE_LIBCACHE}/hollywoo/0.0.0/github/75902710bb75db763b338cd2fe5e7fc7c73f92f2/src/
|
||||
-D hollywoo=0.0.0
|
@@ -158,7 +158,6 @@
|
||||
// register escape to resume (and register escape to pause when resuming lol)
|
||||
(sh.registerItem "{escape} resume" ->cc {
|
||||
(pauseMenu.hide)
|
||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
||||
(resume)
|
||||
} true)
|
||||
(let [choices ["" "Resume" "Scene Selection" "Options" "Send Feedback" "Main Menu" "Quit to Desktop"]
|
||||
@@ -170,7 +169,6 @@
|
||||
->:Void choice
|
||||
(case choice
|
||||
("Resume"
|
||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
||||
(resume))
|
||||
("Scene Selection"
|
||||
(localFunction backToPause []
|
||||
@@ -231,8 +229,6 @@
|
||||
(let [_resume
|
||||
->cc {
|
||||
(pauseMenu.hide)
|
||||
(sh.registerItem "{tab} show history" ->cc (showDialogHistory flxMovie.dialogHistory cc) true)
|
||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
||||
(resume)
|
||||
}]
|
||||
|
||||
|
Reference in New Issue
Block a user