Fix cursor - copyRect() has been renamed to copy().
[guacamole-common-js.git] / src / main / resources / guacamole.js
index e49b155..d4a52ba 100644 (file)
@@ -464,7 +464,7 @@ Guacamole.Client = function(tunnel) {
             cursor.resize(srcWidth, srcHeight);
 
             // Draw cursor to cursor layer
-            cursor.getLayer().copyRect(
+            cursor.getLayer().copy(
                 srcL,
                 srcX,
                 srcY,