Add reset button
This commit is contained in:
@ -9,10 +9,13 @@
|
||||
<style type="text/css">
|
||||
body { margin: 0; }
|
||||
canvas { width: 100%; height: 100% }
|
||||
#reset-button { position: absolute; top:0; left:90%; background-color:#AAA; width: 50px; height:25px; color:#FFF; font-weight: bold; text-align:center;}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<div id="reset-button" onClick="reset_view();"> Reset </div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user