mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Set default layer and cursor layer z-index so they display correctly.
This commit is contained in:
@@ -100,6 +100,7 @@ Guacamole.Client = function(tunnel) {
|
|||||||
default_layer_container_element.style.left = "0px";
|
default_layer_container_element.style.left = "0px";
|
||||||
default_layer_container_element.style.top = "0px";
|
default_layer_container_element.style.top = "0px";
|
||||||
default_layer_container_element.style.overflow = "hidden";
|
default_layer_container_element.style.overflow = "hidden";
|
||||||
|
default_layer_container_element.style.zIndex = "0";
|
||||||
|
|
||||||
// Create cursor layer
|
// Create cursor layer
|
||||||
var cursor = new Guacamole.Client.LayerContainer(null, 0, 0);
|
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.position = "absolute";
|
||||||
cursor_element.style.left = "0px";
|
cursor_element.style.left = "0px";
|
||||||
cursor_element.style.top = "0px";
|
cursor_element.style.top = "0px";
|
||||||
|
cursor_element.style.zIndex = "1";
|
||||||
|
|
||||||
// Add default layer and cursor to display
|
// Add default layer and cursor to display
|
||||||
display.appendChild(default_layer_container.getElement());
|
display.appendChild(default_layer_container.getElement());
|
||||||
|
Reference in New Issue
Block a user