Fixed drawing
This commit is contained in:
parent
f7dab009b3
commit
17c7de2240
|
@ -374,7 +374,7 @@ function Board.new()
|
||||||
local x,y = self:idx_xy(k)
|
local x,y = self:idx_xy(k)
|
||||||
local color = v == BLUE and 12 or v == YELLOW and 8 or 1
|
local color = v == BLUE and 12 or v == YELLOW and 8 or 1
|
||||||
if color == 1 then fillp(▒) else fillp(█) end
|
if color == 1 then fillp(▒) else fillp(█) end
|
||||||
rectfill(
|
rectfill2(
|
||||||
margin + (x-1)*w + (x-1)*(padding+1),
|
margin + (x-1)*w + (x-1)*(padding+1),
|
||||||
margin + (y-1)*w + (y-1)*(padding+1),
|
margin + (y-1)*w + (y-1)*(padding+1),
|
||||||
w, w, color)
|
w, w, color)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user