mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-20 04:31:09 +02:00
Merge pull request #1426 from thibautbus/fix/manager-state-draw-color
This commit is contained in:
@@ -1297,6 +1297,7 @@ function ManagerState:drawOverlay()
|
|||||||
love.graphics.rectangle("fill", 2 * 8, ty * 8, 16 * 8, th * 8)
|
love.graphics.rectangle("fill", 2 * 8, ty * 8, 16 * 8, th * 8)
|
||||||
love.graphics.setColor(1, 1, 1, 1)
|
love.graphics.setColor(1, 1, 1, 1)
|
||||||
Font.drawBox(2, ty, 16, th)
|
Font.drawBox(2, ty, 16, th)
|
||||||
|
love.graphics.setColor(0, 0, 0, 1)
|
||||||
for i, line in ipairs(lines) do
|
for i, line in ipairs(lines) do
|
||||||
drawTruncated(line, 4 * 8, (ty + i) * 8, 14)
|
drawTruncated(line, 4 * 8, (ty + i) * 8, 14)
|
||||||
end
|
end
|
||||||
@@ -1325,6 +1326,7 @@ function ManagerState:draw()
|
|||||||
love.graphics.rectangle("fill", 0, 0, 160, 144)
|
love.graphics.rectangle("fill", 0, 0, 160, 144)
|
||||||
love.graphics.setColor(1, 1, 1, 1)
|
love.graphics.setColor(1, 1, 1, 1)
|
||||||
Font.drawBox(0, 0, 20, 18)
|
Font.drawBox(0, 0, 20, 18)
|
||||||
|
love.graphics.setColor(0, 0, 0, 1)
|
||||||
Font.draw(self.banner or Strings("MOD MANAGER"), 16, 8)
|
Font.draw(self.banner or Strings("MOD MANAGER"), 16, 8)
|
||||||
if self.screen == "list" then
|
if self.screen == "list" then
|
||||||
self:drawList()
|
self:drawList()
|
||||||
|
|||||||
Reference in New Issue
Block a user