From 360312692bdd8d1ebbfeafc0bc85dbdd38ddba4c Mon Sep 17 00:00:00 2001 From: Sebastiaan de Schaetzen Date: Sun, 14 Jul 2024 18:27:16 +0200 Subject: [PATCH] Do not center text --- controller-host/main.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/controller-host/main.lua b/controller-host/main.lua index 2035cd9..86bb120 100644 --- a/controller-host/main.lua +++ b/controller-host/main.lua @@ -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