mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +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
|
package net.torvald.terrarum.modulebasegame.console
|
||||||
|
|
||||||
import net.torvald.terrarum.console.ConsoleCommand
|
import net.torvald.terrarum.console.ConsoleCommand
|
||||||
|
import net.torvald.terrarum.console.ConsoleNoExport
|
||||||
import net.torvald.terrarum.console.Echo
|
import net.torvald.terrarum.console.Echo
|
||||||
import net.torvald.terrarum.langpack.Lang
|
import net.torvald.terrarum.langpack.Lang
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by minjaesong on 2016-03-22.
|
* Created by minjaesong on 2016-03-22.
|
||||||
*/
|
*/
|
||||||
|
@ConsoleNoExport
|
||||||
internal object Help : ConsoleCommand {
|
internal object Help : ConsoleCommand {
|
||||||
override fun execute(args: Array<String>) {
|
override fun execute(args: Array<String>) {
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ class ConsoleWindow : UICanvas() {
|
|||||||
init {
|
init {
|
||||||
reset()
|
reset()
|
||||||
addUIitem(textinput)
|
addUIitem(textinput)
|
||||||
textinput.isActive = true
|
textinput.isActive = false
|
||||||
}
|
}
|
||||||
|
|
||||||
private val lb = ArrayList<String>()
|
private val lb = ArrayList<String>()
|
||||||
|
|||||||
Reference in New Issue
Block a user