Do not center text

This commit is contained in:
Sebastiaan de Schaetzen 2024-07-14 18:27:16 +02:00
parent 7811684bad
commit 360312692b

View File

@ -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