font fixes

This commit is contained in:
minjaesong
2024-05-21 17:10:12 +09:00
parent d0251ffa54
commit bcf13d5ec6
2 changed files with 4 additions and 4 deletions

Binary file not shown.

View File

@@ -123,7 +123,7 @@ class UIItemTextLineInput(
private var fboUpdateLatch = true
private var currentPlaceholderText = ArrayList<Int>(placeholder().toCodePoints()) // the placeholder text may change every time you call it
private var currentPlaceholderText = CodepointSequence(placeholder().toCodePoints()) // the placeholder text may change every time you call it
private val btn1PosX; get() = posX
@@ -259,7 +259,7 @@ class UIItemTextLineInput(
* Only makes sense when the placeholder returns randomised texts
*/
fun refreshPlaceholder() {
currentPlaceholderText = ArrayList<Int>(placeholder().toCodePoints())
currentPlaceholderText = CodepointSequence(placeholder().toCodePoints())
}
override fun inputStrobed(e: TerrarumKeyboardEvent) {