Selaa lähdekoodia

Prevent pointer events on info div

WestLangley 6 vuotta sitten
vanhempi
commit
04b554e8ab
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      examples/main.css

+ 2 - 0
examples/main.css

@@ -10,6 +10,7 @@ body {
 a {
 	color: #ff0;
 	text-decoration: none;
+	pointer-events: auto;
 }
 
 a:hover {
@@ -36,6 +37,7 @@ canvas {
 	-webkit-user-select: none;
 	-ms-user-select: none;
 	user-select: none;
+	pointer-events: none;
 	z-index: 1; /* TODO Solve this in HTML */
 }