]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Show/hide mouse button selector in updateViewOnly
authorSamuel Mannehed <samuel@cendio.se>
Fri, 12 Jan 2018 00:38:22 +0000 (01:38 +0100)
committerSamuel Mannehed <samuel@cendio.se>
Fri, 12 Jan 2018 00:45:26 +0000 (01:45 +0100)
Before this commit, the mouse button selector was hidden when the user
clicked it in view only..

app/ui.js

index a486bdb5d18d1194d1ebced5aa4db735a1500ccf..e39b3f08c01718cc44729948e424a263309e6576 100644 (file)
--- a/app/ui.js
+++ b/app/ui.js
@@ -1607,6 +1607,7 @@ var UI = {
             document.getElementById('noVNC_toggle_extra_keys_button')
                 .classList.remove('noVNC_hidden');
         }
+        UI.setMouseButton(1); //has it's own logic for hiding/showing
     },
 
     updateLogging: function() {