Do not center text
This commit is contained in:
parent
7811684bad
commit
360312692b
@ -42,8 +42,9 @@ function love.draw(...)
|
||||
local centerY = love.graphics.getHeight() / 2
|
||||
|
||||
-- Calculate textX and textY
|
||||
local textX = math.floor(centerX - (font:getWidth(text) / 2))
|
||||
local textY = math.floor(centerY - (font:getHeight(text) / 2))
|
||||
--local textX = math.floor(centerX - (font:getWidth(text) / 2))
|
||||
--local textY = math.floor(centerY - (font:getHeight(text) / 2))
|
||||
local textX, textY = 10, 10
|
||||
|
||||
local realText
|
||||
if errorMessage then
|
||||
|
Loading…
x
Reference in New Issue
Block a user