This commit is contained in:
minjaesong
2021-11-08 22:23:05 +09:00
parent 25084b7a94
commit 6a1208b45d
6 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ class TypewriterGDX(val width: Int, val height: Int) : Game() {
textbuf.add(CodepointSequence())
}
else if (printableKeys.contains(keycode and 127)) {
textbuf.last().add(keycode + 0xF2000)
textbuf.last().add(keycode + 0xF3000)
}
}
@@ -93,7 +93,7 @@ class TypewriterGDX(val width: Int, val height: Int) : Game() {
try {
textbuf.forEachIndexed { index, s ->
font.draw(batch, s, 40f, 40f + 24 * index)
font.draw(batch, s, 40f, 40f + 20 * index)
}
}
catch (e: ConcurrentModificationException) {}