Skip to content

Commit 4f1e864

Browse files
committed
Fix enter key display text on SHIFT
1 parent 5dee12a commit 4f1e864

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

app/src/main/java/io/github/yawnoc/strokeinput/InputContainer.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,11 @@ public void onDraw(final Canvas canvas) {
411411
);
412412
}
413413
else {
414-
keyDisplayText = key.shiftAwareDisplayText(shiftMode);
414+
keyDisplayText = (
415+
key.valueText.equals("ENTER")
416+
? key.displayText
417+
: key.shiftAwareDisplayText(shiftMode)
418+
);
415419
}
416420

417421
final float keyTextX = (

0 commit comments

Comments
 (0)