No longer tap-selecting elements on touch devices

This finalizes the effort to improve map browser event handling.
This commit is contained in:
ahocevar
2012-09-25 19:32:08 +02:00
parent ef383ee7b6
commit 3c099a96b7
6 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
.ol-viewport {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.ol-renderer-webgl-canvas { width:100%; height:100%; }
.olTile {