lighter border for figures

This commit is contained in:
Kartik K. Agaram 2022-05-11 12:59:57 -07:00
parent 475bbd70ef
commit 3bc61ed13f
1 changed files with 2 additions and 1 deletions

View File

@ -37,11 +37,12 @@ function love.draw()
end})
elseif type(line) == 'table' then
-- line drawing
love.graphics.setColor(0,0,0)
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.setColor(0,0,0)
for _,shape in ipairs(line.shapes) do
prev = nil
for _,point in ipairs(shape) do