mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-13 15:16:07 +09:00
3set: delete by letter pieces when assemblying
This commit is contained in:
@@ -176,8 +176,7 @@ class UIItemTextLineInput(
|
||||
}
|
||||
else if (keycodes.contains(Input.Keys.BACKSPACE)) {
|
||||
if (ime != null && ime.composing()) {
|
||||
// TODO ime.backspace() instead of resetIME()
|
||||
resetIME()
|
||||
composingView = CodepointSequence(ime.backspace().toCodePoints())
|
||||
}
|
||||
else if (cursorX <= 0) {
|
||||
cursorX = 0
|
||||
@@ -185,6 +184,7 @@ class UIItemTextLineInput(
|
||||
cursorDrawScroll = 0
|
||||
}
|
||||
else {
|
||||
endComposing()
|
||||
if (cursorX > 0) {
|
||||
while (true) {
|
||||
cursorX -= 1
|
||||
|
||||
Reference in New Issue
Block a user