Skip to content

Commit a560ff9

Browse files
committed
Merge pull request subprotocol#2 from james2doyle/patch-1
eliminate cursor highlighting on the canvas element
2 parents a0e6e9e + 067755e commit a560ff9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css/style.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
body {
32
background: #e4e6e8;
43
background: -moz-linear-gradient(top, #ffffff 0%, #e4e8ee 20%, #e4e8ee 80%, #ffffff 100%); /* FF3.6+ */
@@ -87,6 +86,9 @@ canvas {
8786
margin: 34px auto;
8887
background: #fff;
8988
box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.1);
89+
-moz-user-select: none;
90+
-webkit-user-select: none;
91+
user-select: none;
9092
}
9193

9294

0 commit comments

Comments
 (0)