Skip to content

Commit

Permalink
Remove wrong keyboard shortcut
Browse files Browse the repository at this point in the history
Ctrl + Backspace is not a shortcut for cut, the right shorcut is 
Shift + Forward_Delete, which is already implemented.
Reference:https://en.wikipedia.org/wiki/Cut,_copy,_and_paste#Common_keyboard_shortcuts
  • Loading branch information
intrigus committed Sep 18, 2015
1 parent 15408f1 commit 53600eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdx/src/com/badlogic/gdx/scenes/scene2d/ui/TextField.java
Expand Up @@ -831,7 +831,7 @@ public boolean keyDown (InputEvent event, int keycode) {
copy();
return true;
}
if (keycode == Keys.X || keycode == Keys.DEL) {
if (keycode == Keys.X) {
cut(true);
return true;
}
Expand Down

0 comments on commit 53600eb

Please sign in to comment.