aboutsummaryrefslogtreecommitdiff
path: root/src/shell.html
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-05 12:16:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-05 12:16:32 -0700
commit270e442e15d3327534ee8e6dc8285c9873babb84 (patch)
treeb3989b71dfd85b3e095d8f87b7fece530f98db94 /src/shell.html
parent8019523bafc3f527a39243034c0ed32a4f2b4918 (diff)
parente9dc897fb280a9150b7b42ac4999d70c0809c33d (diff)
Merge pull request #354 from behdad/fix-keyboard
More GLUT fixes
Diffstat (limited to 'src/shell.html')
-rw-r--r--src/shell.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shell.html b/src/shell.html
index 4c7b2147..37509889 100644
--- a/src/shell.html
+++ b/src/shell.html
@@ -4,7 +4,8 @@
<title>Emscripten-Generated Code</title>
<body>
<center>
- <canvas id='canvas' width='256' height='256'></canvas>
+ <canvas id='canvas' width='256' height='256' style="border: 1px solid black"
+ oncontextmenu="event.preventDefault()"></canvas>
<hr>
<textarea id="output" style="font-family: monospace; width: 80%" rows="8"></textarea>
<hr>