mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
fix: title screen UIs can be closed using ESC
This commit is contained in:
@@ -11,7 +11,9 @@ import net.torvald.terrarum.ui.*
|
||||
import java.util.TreeMap
|
||||
|
||||
open class UITitleWallOfText(private val text: List<String>) : UICanvas() {
|
||||
|
||||
init {
|
||||
handler.allowESCtoClose = false
|
||||
}
|
||||
|
||||
private val textAreaHMargin = 48
|
||||
override var width = 600
|
||||
|
||||
Reference in New Issue
Block a user