fix: title screen UIs can be closed using ESC

This commit is contained in:
minjaesong
2023-09-23 01:14:54 +09:00
parent c1717c7a54
commit d87dc8fffc
23 changed files with 70 additions and 8 deletions

View File

@@ -14,6 +14,10 @@ import kotlin.math.roundToInt
*/
class UIAutosaveNotifier : UICanvas() {
init {
handler.allowESCtoClose = false
}
companion object {
const val WIDTH = 180
const val HEIGHT = 24

View File

@@ -67,6 +67,7 @@ class UINSMenu(
var invocationArgument: Array<Any> = arrayOf(this)
init {
handler.allowESCtoClose = false
addSubMenu(tree)
}