Reset internal stack state when stack automatically reset from resize.
This commit is contained in:
1 parent
b363f958b0
commit
6cffafad6a
1 file changed
+4
@@ -168,6 +168,10 @@ Guacamole.Layer = function(width, height) {
|
|||||||
width = newWidth;
|
width = newWidth;
|
||||||
height = newHeight;
|
height = newHeight;
|
||||||
|
|
||||||
|
// Acknowledge reset of stack (happens on resize of canvas)
|
||||||
|
stackSize = 0;
|
||||||
|
displayContext.save();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user