Procházet zdrojové kódy

Prevent pointer events on info div

WestLangley před 6 roky
rodič
revize
04b554e8ab
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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 */
 }