mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-09 22:51:22 +00:00
Show/hide touch menu through display rather than visiblity, fix sending of non-integer screen sizes for small screens.
This commit is contained in:
@@ -149,7 +149,7 @@ GuacamoleUI.supportedAudio = [];
|
||||
};
|
||||
|
||||
GuacamoleUI.hideTouchMenu = function() {
|
||||
GuacamoleUI.touchMenu.style.visibility = "hidden";
|
||||
GuacamoleUI.touchMenu.style.display = "none";
|
||||
};
|
||||
|
||||
function positionCentered(element) {
|
||||
@@ -165,8 +165,8 @@ GuacamoleUI.supportedAudio = [];
|
||||
}
|
||||
|
||||
GuacamoleUI.showTouchMenu = function() {
|
||||
GuacamoleUI.touchMenu.style.display= "";
|
||||
positionCentered(GuacamoleUI.touchMenu);
|
||||
GuacamoleUI.touchMenu.style.visibility = "visible";
|
||||
};
|
||||
|
||||
GuacamoleUI.hideTouchClipboard = function() {
|
||||
|
Reference in New Issue
Block a user