From ff20799b29a487f53f5819809b0d1e6e395adaba Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sun, 1 Apr 2012 18:52:06 -0700 Subject: [PATCH] Provide means of retrieving scale. --- guacamole-common-js/src/main/resources/guacamole.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/guacamole-common-js/src/main/resources/guacamole.js b/guacamole-common-js/src/main/resources/guacamole.js index 43bd16520..204b606d2 100644 --- a/guacamole-common-js/src/main/resources/guacamole.js +++ b/guacamole-common-js/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