Ensure layers are painted properly in Chrome when GPU compositing is enabled.
This commit is contained in:
1 parent
1807ac0664
commit
f1c4187f77
1 file changed
+5
@@ -1144,6 +1144,11 @@ Guacamole.Layer = function(width, height) {
|
|||||||
display.width = width;
|
display.width = width;
|
||||||
display.height = height;
|
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;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user