From 6b2d26e9500ac0832160d8fcbd3964721e890792 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Tue, 4 Oct 2011 02:30:47 +0000 Subject: [PATCH] typo --- source/Ox.UI/js/Map/Ox.Map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'