mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Fixed type error in copy rect of Layer.
This commit is contained in:
@@ -345,7 +345,7 @@ Guacamole.Layer = function(width, height) {
|
|||||||
|
|
||||||
function doCopyRect() {
|
function doCopyRect() {
|
||||||
if (layer.autosize != 0) fitRect(x, y, srcw, srch);
|
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.
|
// If we ARE the source layer, no need to sync.
|
||||||
|
Reference in New Issue
Block a user