about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 00014a5..6d9fe47 100644
--- a/main.lua
+++ b/main.lua
@@ -40,8 +40,8 @@ function love.draw()
       -- line drawing
       love.graphics.setColor(0.75,0.75,0.75)
       line.y = y
-      love.graphics.rectangle('line', 12,y, line.w,line.h)
       y = y+line.h
+      love.graphics.rectangle('line', 12,line.y, line.w,line.h)
 
       for _,shape in ipairs(line.shapes) do
         if on_freehand(love.mouse.getX(),love.mouse.getY(), shape) then