Reset internal stack state when stack automatically reset from resize.

This commit is contained in:
Michael Jumper
2012-03-11 22:13:10 -07:00
parent b363f958b0
commit 6cffafad6a

View File

@@ -168,6 +168,10 @@ Guacamole.Layer = function(width, height) {
width = newWidth;
height = newHeight;
// Acknowledge reset of stack (happens on resize of canvas)
stackSize = 0;
displayContext.save();
}
/**