Merge pull request #11412 from osmandapp/KeyboardZoomPlus

add "equals" key code to increase map zoom
This commit is contained in:
vshcherb 2021-04-13 12:56:29 +02:00 committed by GitHub
commit 1de54d48a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ public class MapActivityKeyListener implements KeyEvent.Callback {
if (keyCode == KeyEvent.KEYCODE_MINUS) {
mapActivity.changeZoom(-1);
return true;
} else if (keyCode == KeyEvent.KEYCODE_PLUS) {
} else if (keyCode == KeyEvent.KEYCODE_PLUS || keyCode == KeyEvent.KEYCODE_EQUALS) {
mapActivity.changeZoom(1);
return true;
}