From: Michael Jumper Date: Mon, 2 Apr 2012 01:52:06 +0000 (-0700) Subject: Provide means of retrieving scale. X-Git-Url: http://git.alex.org.uk Provide means of retrieving scale. --- diff --git a/src/main/resources/guacamole.js b/src/main/resources/guacamole.js index 43bd165..204b606 100644 --- a/src/main/resources/guacamole.js +++ b/src/main/resources/guacamole.js @@ -841,8 +841,11 @@ Guacamole.Client = function(tunnel) { }; -}; + guac_client.getScale = function() { + return displayScale; + }; +}; /** * Simple container for Guacamole.Layer, allowing layers to be easily