mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 11:04:05 +09:00
fix: title screen UIs can be closed using ESC
This commit is contained in:
@@ -11,6 +11,9 @@ import net.torvald.terrarum.ui.UICanvas
|
||||
* Created by minjaesong on 2023-07-05.
|
||||
*/
|
||||
class UILoadNewCharacter(val full: UILoadSavegame) : UICanvas() {
|
||||
init {
|
||||
handler.allowESCtoClose = false
|
||||
}
|
||||
|
||||
override var width: Int = Toolkit.drawWidth
|
||||
override var height: Int = App.scr.height
|
||||
|
||||
Reference in New Issue
Block a user