Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed the last of the legacy Backspace hack #318

Merged
merged 3 commits into from
Jul 28, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/io/github/sspanak/tt9/ime/KeyPadHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {

// "backspace" key must repeat its function when held down, so we handle it in a special way
if (Key.isBackspace(settings, keyCode)) {
// When there is no more text, allow "Back" key to function normally, not to block navigation.
// All other keys have their default function disabled.
isBackspaceHandled = onBackspace() || keyCode != KeyEvent.KEYCODE_BACK;
isBackspaceHandled = onBackspace();
return isBackspaceHandled;
} else {
isBackspaceHandled = false;
Expand Down
Loading