Skip to content

Commit

Permalink
Another small adjustment to lower the landscape keyboard position.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 17, 2024
1 parent eb4de43 commit f6a3de6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,8 @@ public boolean touchUp(int screenX, int screenY, int pointer, int button) {
}
} else if (keyboardType.equals(KeyboardType.MOBILE_ON_SCREEN)) {
// If the onscreen keyboard is being shown then if we receive a tap event, it
// won't be
// on the virtual keyboard but must therefore be outside it. So we hide the
// keyboard.
// won't be on the virtual keyboard but must therefore be outside it. So we
// hide the keyboard.
Gdx.input.setOnscreenKeyboardVisible(false);
keyboardType = KeyboardType.OFF;

Expand Down
8 changes: 4 additions & 4 deletions core/src/main/java/com/agifans/agile/ui/KeyboardType.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public enum KeyboardType {
},
"png/landscape_keyboard_lowercase.png",
0.4f,
145,
130,
0,
176,
1568,
Expand All @@ -38,7 +38,7 @@ public enum KeyboardType {
},
"png/landscape_keyboard_uppercase.png",
0.4f,
140,
130,
0,
176,
1568,
Expand All @@ -54,7 +54,7 @@ public enum KeyboardType {
},
"png/landscape_keyboard_punc_numbers.png",
0.4f,
140,
130,
0,
176,
1568,
Expand All @@ -70,7 +70,7 @@ public enum KeyboardType {
},
"png/portrait_keyboard_lowercase.png",
0.6f,
140,
145,
0,
1,
-1,
Expand Down

0 comments on commit f6a3de6

Please sign in to comment.