1
Fork 0

Better input handling

This commit is contained in:
Joshua Moerman 2013-04-23 15:10:50 +02:00
parent 855cc8072a
commit 1872c5cfdb
2 changed files with 6 additions and 3 deletions

View file

@ -31,7 +31,6 @@ function down(e){
function up(e){ function up(e){
drawing.active = false; drawing.active = false;
drawing.draw_end(line); drawing.draw_end(line);
} }
@ -52,8 +51,9 @@ function move(e){
} }
function out(e){ function out(e){
drawing.active = false; // This didn't work too well
drawing.draw_cancel(line); // drawing.active = false;
// drawing.draw_cancel(line);
} }
function init_drawing(element, draw_start, draw_move, draw_end, draw_cancel){ function init_drawing(element, draw_start, draw_move, draw_end, draw_cancel){

View file

@ -15,6 +15,9 @@ a {
#text { #text {
position: relative; position: relative;
text-align: center; text-align: center;
width: 300px;
margin-left:auto;
margin-right:auto;
} }
/* Login */ /* Login */