From 36a732e6107bc5ca3442d2b0623aff598cceee51 Mon Sep 17 00:00:00 2001 From: nazar-kutz Date: Tue, 13 Apr 2021 11:56:01 +0300 Subject: [PATCH] add "equals" key code to increase map zoom --- .../src/net/osmand/plus/activities/MapActivityKeyListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityKeyListener.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityKeyListener.java index e218272c13..33ce52296b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityKeyListener.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityKeyListener.java @@ -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; }