mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
world code placeholder to match the code struct
This commit is contained in:
@@ -107,7 +107,7 @@ class UINewWorld(val remoCon: UIRemoCon) : UICanvas() {
|
|||||||
|
|
||||||
private val codeInput = UIItemTextLineInput(this,
|
private val codeInput = UIItemTextLineInput(this,
|
||||||
inputX, drawY + sizeSelY, inputWidth,
|
inputX, drawY + sizeSelY, inputWidth,
|
||||||
{ "AAAA BB CCCCC DDDDD EEEEE FFFFF" }, InputLenCap(31, InputLenCap.CharLenUnit.CODEPOINTS)).also {
|
{ "AAAAA BBBBB CCCCC DDDDD EEEEE" }, InputLenCap(31, InputLenCap.CharLenUnit.CODEPOINTS)).also {
|
||||||
|
|
||||||
// reset importReturnCode if the text input has changed
|
// reset importReturnCode if the text input has changed
|
||||||
it.onKeyDown = { _ ->
|
it.onKeyDown = { _ ->
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class UIWorldPortalUseInvitation(val full: UIWorldPortal) : UICanvas() {
|
|||||||
|
|
||||||
private val codeInput = UIItemTextLineInput(this,
|
private val codeInput = UIItemTextLineInput(this,
|
||||||
drawX + width - inputWidth + 5, drawY + sizeSelY, inputWidth,
|
drawX + width - inputWidth + 5, drawY + sizeSelY, inputWidth,
|
||||||
{ "AAAA BB CCCCC DDDDD EEEEE FFFFF" }, InputLenCap(31, InputLenCap.CharLenUnit.CODEPOINTS)
|
{ "AAAAA BBBBB CCCCC DDDDD EEEEE" }, InputLenCap(31, InputLenCap.CharLenUnit.CODEPOINTS)
|
||||||
).also {
|
).also {
|
||||||
// reset importReturnCode if the text input has changed
|
// reset importReturnCode if the text input has changed
|
||||||
it.onKeyDown = { _ ->
|
it.onKeyDown = { _ ->
|
||||||
|
|||||||
Reference in New Issue
Block a user