fixd a bug where HUD will draw on top of console window

This commit is contained in:
minjaesong
2019-08-19 02:05:00 +09:00
parent 89746c3b6e
commit 9e775d9d57
5 changed files with 15 additions and 8 deletions

View File

@@ -381,8 +381,10 @@ open class TerrarumIngame(batch: SpriteBatch) : IngameInstance(batch) {
consoleHandler,
uiCheatMotherfuckerNootNoot
)
uiAliasesPausing.forEach { addUI(it) } // put them all to the UIContainer
// UIFixture is handled "dirtily" (calling directly from the render/update code) because it's dynamic
// Therefore, console window will be drawn behind of the thing
uiAliases.forEach { addUI(it) } // put them all to the UIContainer
uiAliasesPausing.forEach { addUI(it) } // put them all to the UIContainer

View File

@@ -25,7 +25,7 @@ internal object JavaIMTest : ConsoleCommand {
Echo("[TextInputText] (input canceled)")
}
}
Gdx.input.getTextInput(inputListener, "TextInputTest", "Testing the text input", "type anything!")
Gdx.input.getTextInput(inputListener, "TextInputTest", "", "type anything!")
}
override fun printUsage() {