diff --git a/source/Ox.UI/js/Map/Ox.Map.js b/source/Ox.UI/js/Map/Ox.Map.js index 0e1f9397..cb7e8a06 100644 --- a/source/Ox.UI/js/Map/Ox.Map.js +++ b/source/Ox.UI/js/Map/Ox.Map.js @@ -120,6 +120,7 @@ Ox.Map = function(options, self) { key_0: function() { panToPlace() }, + key_c: toggleControls, key_down: function() { pan(0, 1); }, @@ -225,7 +226,7 @@ Ox.Map = function(options, self) { }, { id: 'toggleControls', - title: self.options.showLabels + title: self.options.showControls ? ['Hide Controls', 'Show Controls'] : ['Show Controls', 'Hide Controls'], keyboard: 'c'