Set default layer and cursor layer z-index so they display correctly.

This commit is contained in:
Michael Jumper
2014-01-17 01:55:25 -08:00
parent 8936faa6a5
commit b8c4419bf5

View File

@@ -100,6 +100,7 @@ Guacamole.Client = function(tunnel) {
default_layer_container_element.style.left = "0px";
default_layer_container_element.style.top = "0px";
default_layer_container_element.style.overflow = "hidden";
default_layer_container_element.style.zIndex = "0";
// Create cursor layer
var cursor = new Guacamole.Client.LayerContainer(null, 0, 0);
@@ -111,6 +112,7 @@ Guacamole.Client = function(tunnel) {
cursor_element.style.position = "absolute";
cursor_element.style.left = "0px";
cursor_element.style.top = "0px";
cursor_element.style.zIndex = "1";
// Add default layer and cursor to display
display.appendChild(default_layer_container.getElement());