diff --git a/drawing.js b/drawing.js index baf9245..81ebc1f 100644 --- a/drawing.js +++ b/drawing.js @@ -31,7 +31,6 @@ function down(e){ function up(e){ drawing.active = false; - drawing.draw_end(line); } @@ -52,8 +51,9 @@ function move(e){ } function out(e){ - drawing.active = false; - drawing.draw_cancel(line); + // This didn't work too well + // drawing.active = false; + // drawing.draw_cancel(line); } function init_drawing(element, draw_start, draw_move, draw_end, draw_cancel){ diff --git a/index.css b/index.css index 3c5af26..dfc2f3e 100644 --- a/index.css +++ b/index.css @@ -15,6 +15,9 @@ a { #text { position: relative; text-align: center; + width: 300px; + margin-left:auto; + margin-right:auto; } /* Login */