about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-12 08:29:00 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-12 08:29:00 -0700
commit2e0929fab4cce8afae8d4aed809a15e1698a119a (patch)
tree8374058f069be8a73eeee0d5484bf8e35a68aeb6
parent07e2b7b897b087b187f6f74e765fd3ba100ec96f (diff)
downloadtext.love-2e0929fab4cce8afae8d4aed809a15e1698a119a.tar.gz
slightly tweak boundary between concerns
-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