slightly tweak boundary between concerns
This commit is contained in:
parent
07e2b7b897
commit
2e0929fab4
2
main.lua
2
main.lua
|
@ -40,8 +40,8 @@ function love.draw()
|
||||||
-- line drawing
|
-- line drawing
|
||||||
love.graphics.setColor(0.75,0.75,0.75)
|
love.graphics.setColor(0.75,0.75,0.75)
|
||||||
line.y = y
|
line.y = y
|
||||||
love.graphics.rectangle('line', 12,y, line.w,line.h)
|
|
||||||
y = y+line.h
|
y = y+line.h
|
||||||
|
love.graphics.rectangle('line', 12,line.y, line.w,line.h)
|
||||||
|
|
||||||
for _,shape in ipairs(line.shapes) do
|
for _,shape in ipairs(line.shapes) do
|
||||||
if on_freehand(love.mouse.getX(),love.mouse.getY(), shape) then
|
if on_freehand(love.mouse.getX(),love.mouse.getY(), shape) then
|
||||||
|
|
Loading…
Reference in New Issue