summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhitya Kamakshidasan2016-06-23 18:07:54 +0530
committerGitHub2016-06-23 18:07:54 +0530
commitaaf34f196a040e6947ae1a04196398c26b38310a (patch)
tree41cca0d280d924cfa6f9fecb5f679266c6d934dd
parent48e0226115df3e5e6dff7f5e946043e9cf707369 (diff)
downloadxcos-on-web-aaf34f196a040e6947ae1a04196398c26b38310a.tar.gz
xcos-on-web-aaf34f196a040e6947ae1a04196398c26b38310a.tar.bz2
xcos-on-web-aaf34f196a040e6947ae1a04196398c26b38310a.zip
Update index.html
-rw-r--r--index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.html b/index.html
index 24c6625..a8cc7a5 100644
--- a/index.html
+++ b/index.html
@@ -682,13 +682,13 @@
var dx = 0;
var dy = 0;
if (keyCode == 37) {
- dx = -1;
+ dx = -5;
} else if (keyCode == 38) {
- dy = -1;
+ dy = -5;
} else if (keyCode == 39) {
- dx = 1;
+ dx = 5;
} else if (keyCode == 40) {
- dy = 1;
+ dy = 5;
}
graph.moveCells(graph.getSelectionCells(), dx, dy);
}