ソースを参照

prevent user-selection of info/dg text

WestLangley 6 年 前
コミット
929fa2a68c
1 ファイル変更8 行追加0 行削除
  1. 8 0
      examples/main.css

+ 8 - 0
examples/main.css

@@ -32,9 +32,17 @@ canvas {
 	padding: 10px;
 	box-sizing: border-box;
 	text-align: center;
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 1; /* TODO Solve this in HTML */
 }
 
 .dg.ac {
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 2 !important; /* TODO Solve this in HTML */
 }