gapbox toggle with F11

This commit is contained in:
minjaesong
2019-01-23 12:45:40 +09:00
parent 05094b6938
commit a2af6bc84d
7 changed files with 74 additions and 17 deletions

View File

@@ -433,11 +433,9 @@ object Terrarum : Screen {
AppLoader.getINSTANCE().screen.hide()
}
/** For the actual resize, call AppLoader.resize() */
override fun resize(width: Int, height: Int) {
/*try {
AppLoader.getINSTANCE().screen.resize(width, height)
}
catch (e: NullPointerException) { }*/ // I sense circular recursion...
ingame?.resize(width, height)
printdbg(this, "newsize: ${Gdx.graphics.width}x${Gdx.graphics.height} | internal: ${width}x$height")
}