1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-15 07:47:40 +00:00

grid setSelected, update tron url/icon

This commit is contained in:
kepler155c@gmail.com
2018-12-01 00:55:42 -05:00
parent beae4e6eaf
commit 1fb5379b11
3 changed files with 19 additions and 20 deletions

View File

@@ -137,7 +137,7 @@ function Canvas:writeBlit(x, y, text, bg, fg)
if bg then
bg = _sub(bg, 2 - x)
end
if bg then
if fg then
fg = _sub(fg, 2 - x)
end
width = width + x - 1
@@ -149,7 +149,7 @@ function Canvas:writeBlit(x, y, text, bg, fg)
if bg then
bg = _sub(bg, 1, self.width - x + 1)
end
if bg then
if fg then
fg = _sub(fg, 1, self.width - x + 1)
end
width = #text