tweak grid color
This commit is contained in:
parent
db634d768a
commit
cb133e4c63
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function self.render()
|
||||||
love.graphics.rectangle('line', x, y, w, h)
|
love.graphics.rectangle('line', x, y, w, h)
|
||||||
|
|
||||||
-- grid
|
-- grid
|
||||||
love.graphics.setColor(0.2, 0.2, 0.4, 0.2)
|
love.graphics.setColor(0.2, 0.2, 0.3, 0.2)
|
||||||
local gridsize = 64
|
local gridsize = 64
|
||||||
for gx = 1, gridsize - 2 do
|
for gx = 1, gridsize - 2 do
|
||||||
love.graphics.line(x + margin + gx * w/gridsize, y + margin, x + margin + gx * w/gridsize, y + h - margin)
|
love.graphics.line(x + margin + gx * w/gridsize, y + margin, x + margin + gx * w/gridsize, y + h - margin)
|
||||||
|
|
Loading…
Reference in a new issue