]> git.proxmox.com Git - mirror_novnc.git/commitdiff
Always disable forced touch gestures
authorSamuel Mannehed <samuel@cendio.se>
Wed, 26 Oct 2016 13:43:43 +0000 (15:43 +0200)
committerSamuel Mannehed <samuel@cendio.se>
Wed, 26 Oct 2016 13:43:43 +0000 (15:43 +0200)
Don't only disable these for the canvas, disable for the entire page.
There were issues where the control bar handle couldn't be moved on
IE and Edge on Microsoft Surface devices due to these "touch-actions".

app/styles/base.css

index cb9109868d1801cd79c3ea6ac7afc33cc5e32858..185b982f9c00f992477952539fe06902509fd68f 100644 (file)
@@ -16,6 +16,7 @@ body {
   background-repeat:no-repeat;
   background-position:right bottom;
   height:100%;
+  touch-action: none;
 }
 
 html {
@@ -527,7 +528,6 @@ input[type=button]:active, select:active {
  * scaling will occur. Canvas size depends on remote VNC
  * settings and noVNC settings. */
 #noVNC_canvas {
-  touch-action: none;
   position: absolute;
   left: 0;
   right: 0;