Skip to content

Commit

Permalink
Update CodenameOneView.java (#3785)
Browse files Browse the repository at this point in the history
* Update CodenameOneView.java

user DB107 made wrong changes, this is correct commit

* Update CodenameOneView.java
  • Loading branch information
davideprimasc authored Feb 6, 2024
1 parent 8889bd5 commit cb2244b
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,12 @@ public boolean onKeyUpDown(boolean down, int keyCode, KeyEvent event) {
case KeyEvent.KEYCODE_SYM:
return false;
case KeyEvent.KEYCODE_ENTER:
Display.getInstance().keyPressed(keyCode);
Display.getInstance().keyReleased(keyCode);
break;
if (down) {
Display.getInstance().keyPressed(keyCode);
} else {
Display.getInstance().keyReleased(keyCode);
}
return false;
default:
}

Expand Down

0 comments on commit cb2244b

Please sign in to comment.