Fixed type error in copy rect of Layer.
This commit is contained in:
1 parent
aea01a5cdb
commit
3684bc5522
1 file changed
+1
-1
@@ -345,7 +345,7 @@ Guacamole.Layer = function(width, height) {
|
||||
|
||||
function doCopyRect() {
|
||||
if (layer.autosize != 0) fitRect(x, y, srcw, srch);
|
||||
displayContext.drawImage(srcLayer, srcx, srcy, srcw, srch, x, y, srcw, srch);
|
||||
displayContext.drawImage(srcLayer.getCanvas(), srcx, srcy, srcw, srch, x, y, srcw, srch);
|
||||
}
|
||||
|
||||
// If we ARE the source layer, no need to sync.
|
||||
|
||||
Reference in new issue
Block a user