Ensure layers are painted properly in Chrome when GPU compositing is enabled.

This commit is contained in:
Michael Jumper
2013-12-06 15:13:46 -08:00
parent 1807ac0664
commit f1c4187f77

View File

@@ -1144,6 +1144,11 @@ Guacamole.Layer = function(width, height) {
display.width = width;
display.height = height;
// Explicitly render canvas below other elements in the layer (such as
// child layers). Chrome and others may fail to render layers properly
// without this.
display.style.zIndex = -1;
};
/**