summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-26 12:24:51 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-26 12:24:51 +0100
commitf24fe2bbab4d0fae2effcf17c71f4296c9c39c7e (patch)
tree8c331e64124a3f7379f9116053e8f849ec658a90 /common
parent0c6f993695f403b89453b2410b48455d0885097f (diff)
downloadqtlocation-mapboxgl-f24fe2bbab4d0fae2effcf17c71f4296c9c39c7e.tar.gz
toggle raster with R and reset with X
Diffstat (limited to 'common')
-rw-r--r--common/map_view.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/map_view.cpp b/common/map_view.cpp
index fef5a44692..4e68a65ce1 100644
--- a/common/map_view.cpp
+++ b/common/map_view.cpp
@@ -83,9 +83,12 @@ public:
case GLFW_KEY_TAB:
mapView->map.toggleDebug();
break;
- case GLFW_KEY_R:
+ case GLFW_KEY_X:
if (!mods) mapView->map.resetPosition();
break;
+ case GLFW_KEY_R:
+ if (!mods) mapView->map.toggleRaster();
+ break;
case GLFW_KEY_N:
if (!mods) mapView->map.resetNorth();
break;