mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Ensure layers are painted properly in Chrome when GPU compositing is enabled.
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user