1

Disabling selection on graph

This commit is contained in:
Alex Yatskov 2014-09-04 11:47:15 +09:00
parent 0338eb1dc5
commit 6491707b24
2 changed files with 9 additions and 1 deletions

View File

@ -5,6 +5,7 @@
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
@ -55,7 +56,7 @@
<form>
<div class="panel panel-default">
<div class="panel-heading"><big>Semantic tweaks to <span id="query" class="text-primary"></span></big></div>
<div style="padding: 10px;">
<div style="padding: 10px;" class="unselectable">
<canvas id="grapher" width="500" height="550"></canvas><br>
<label class="checkbox-inline">
<input type="checkbox" id="useLocalScale" name="useLocalScale" checked="checked"> Use local scale

7
client/style.css Normal file
View File

@ -0,0 +1,7 @@
.unselectable {
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}