asciiart update
This commit is contained in:
@@ -44,7 +44,7 @@ function AsciiArt.draw(text, options)
|
|||||||
for j = 1, #line do
|
for j = 1, #line do
|
||||||
local char = line:sub(j, j)
|
local char = line:sub(j, j)
|
||||||
if char == "#" then
|
if char == "#" then
|
||||||
rect(x_offset + (j - 1) * char_w, current_y, char_w - 1, char_h - 1, color)
|
rect(x_offset + (j - 1) * char_w, current_y, char_w, char_h, color)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
current_y = current_y + char_h + line_gap
|
current_y = current_y + char_h + line_gap
|
||||||
|
|||||||
Reference in New Issue
Block a user