mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1170: For sake of consistency, keyWidth should be keyWidths.
This commit is contained in:
@@ -569,7 +569,7 @@ Guacamole.OnScreenKeyboard = function(layout) {
|
||||
|
||||
// Add key to DOM, maintain scale
|
||||
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
|
||||
|
||||
@@ -650,7 +650,7 @@ Guacamole.OnScreenKeyboard.Layout = function(template) {
|
||||
*
|
||||
* @type Object.<String, Number>
|
||||
*/
|
||||
this.keyWidth = template.keyWidth || {};
|
||||
this.keyWidths = template.keyWidths || {};
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user