浏览代码

Prevent pointer events on info div

WestLangley 6 年之前
父节点
当前提交
04b554e8ab
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 */
 }