Skip to content

Commit

Permalink
Small fix to keyboard appearance on screen resize.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanceewing committed Mar 17, 2024
1 parent 9963c1f commit ae45c36
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,9 @@ public void resize(int width, int height) {
keyboardType = KeyboardType.PORTRAIT_LOWER_CASE;
}
} else if (keyboardType.isRendered()) {
// Change to landscape if it is not already a landscape keyboard.
// If it wasn't previously landscape, then turn it off.
if (!keyboardType.isLandscape()) {
keyboardType = KeyboardType.LANDSCAPE_LOWER_CASE;
keyboardType = KeyboardType.OFF;
}
}
}
Expand Down

0 comments on commit ae45c36

Please sign in to comment.