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
|
# @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/85d80621508b287834d102032d7c442e586d321c"
|
# @run: haxelib run-dir hollywoo "${HAXE_LIBCACHE}/hollywoo/0.0.0/github/75902710bb75db763b338cd2fe5e7fc7c73f92f2"
|
||||||
-lib kiss
|
-lib kiss
|
||||||
-lib kiss-tools
|
-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
|
-D hollywoo=0.0.0
|
||||||
@@ -158,7 +158,6 @@
|
|||||||
// register escape to resume (and register escape to pause when resuming lol)
|
// register escape to resume (and register escape to pause when resuming lol)
|
||||||
(sh.registerItem "{escape} resume" ->cc {
|
(sh.registerItem "{escape} resume" ->cc {
|
||||||
(pauseMenu.hide)
|
(pauseMenu.hide)
|
||||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
|
||||||
(resume)
|
(resume)
|
||||||
} true)
|
} true)
|
||||||
(let [choices ["" "Resume" "Scene Selection" "Options" "Send Feedback" "Main Menu" "Quit to Desktop"]
|
(let [choices ["" "Resume" "Scene Selection" "Options" "Send Feedback" "Main Menu" "Quit to Desktop"]
|
||||||
@@ -170,7 +169,6 @@
|
|||||||
->:Void choice
|
->:Void choice
|
||||||
(case choice
|
(case choice
|
||||||
("Resume"
|
("Resume"
|
||||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
|
||||||
(resume))
|
(resume))
|
||||||
("Scene Selection"
|
("Scene Selection"
|
||||||
(localFunction backToPause []
|
(localFunction backToPause []
|
||||||
@@ -231,8 +229,6 @@
|
|||||||
(let [_resume
|
(let [_resume
|
||||||
->cc {
|
->cc {
|
||||||
(pauseMenu.hide)
|
(pauseMenu.hide)
|
||||||
(sh.registerItem "{tab} show history" ->cc (showDialogHistory flxMovie.dialogHistory cc) true)
|
|
||||||
(sh.registerItem "{escape} pause" ->cc (showPauseMenu cc) true)
|
|
||||||
(resume)
|
(resume)
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user