GUAC-1170: For sake of consistency, keyWidth should be keyWidths.

This commit is contained in:
Michael Jumper
2015-04-28 18:57:25 -07:00
parent abc8726b22
commit 741d25291f
2 changed files with 3 additions and 3 deletions

View File

@@ -569,7 +569,7 @@ Guacamole.OnScreenKeyboard = function(layout) {
// Add key to DOM, maintain scale // Add key to DOM, maintain scale
div.appendChild(keyElement); div.appendChild(keyElement);
scaledElements.push(new ScaledElement(div, osk.layout.keyWidth[object] || 1, 1, true)); scaledElements.push(new ScaledElement(div, osk.layout.keyWidths[object] || 1, 1, true));
} // end if object is key name } // end if object is key name
@@ -650,7 +650,7 @@ Guacamole.OnScreenKeyboard.Layout = function(template) {
* *
* @type Object.<String, Number> * @type Object.<String, Number>
*/ */
this.keyWidth = template.keyWidth || {}; this.keyWidths = template.keyWidths || {};
}; };

View File

@@ -371,7 +371,7 @@
}, },
"keyWidth" : { "keyWidths" : {
"Back" : 2, "Back" : 2,
"Tab" : 1.5, "Tab" : 1.5,