mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 20:31:51 +09:00
fixed a bug where console window would register keypresses when it's first loaded but not opened
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package net.torvald.terrarum.modulebasegame.console
|
||||
|
||||
import net.torvald.terrarum.console.ConsoleCommand
|
||||
import net.torvald.terrarum.console.ConsoleNoExport
|
||||
import net.torvald.terrarum.console.Echo
|
||||
import net.torvald.terrarum.langpack.Lang
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2016-03-22.
|
||||
*/
|
||||
@ConsoleNoExport
|
||||
internal object Help : ConsoleCommand {
|
||||
override fun execute(args: Array<String>) {
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ class ConsoleWindow : UICanvas() {
|
||||
init {
|
||||
reset()
|
||||
addUIitem(textinput)
|
||||
textinput.isActive = true
|
||||
textinput.isActive = false
|
||||
}
|
||||
|
||||
private val lb = ArrayList<String>()
|
||||
|
||||
Reference in New Issue
Block a user