scenes/worldmap: improve level name visibility
This commit is contained in:
parent
e370f1a04f
commit
2858de16b0
|
@ -23,7 +23,7 @@ end
|
|||
function LevelDot:drawName()
|
||||
local _, w, h = 0, core.screen:getDimensions()
|
||||
self.scene.assets.fonts["small"]:set()
|
||||
love.graphics.setColor(0, 0, 0, .4)
|
||||
love.graphics.setColor(0, 0, 0, .6)
|
||||
love.graphics.rectangle("fill", 0, h-16, w, 13)
|
||||
utils.graphics.resetColor()
|
||||
love.graphics.printf(self.data.name, 0, h-18, w, "center")
|
||||
|
|
Loading…
Reference in New Issue