From f24fe2bbab4d0fae2effcf17c71f4296c9c39c7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Wed, 26 Mar 2014 12:24:51 +0100 Subject: toggle raster with R and reset with X --- common/map_view.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common') 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; -- cgit v1.2.1