default error handler's text is positioned better for fractional DPI scales

maybe we need a snapToPixel function in the future, if we stick with this DPI scaling model...
This commit is contained in:
Sasha Szpakowski
2026-06-21 16:16:38 -03:00
parent 02c6a3053f
commit a7679a5509
+1 -1
View File
@@ -291,7 +291,7 @@ function love.errorhandler(msg)
local function draw()
if not love.graphics.isActive() then return end
local pos = 70
local pos = 60
love.graphics.clear(89/255, 157/255, 220/255)
love.graphics.printf(p, pos, pos, love.graphics.getWidth() - pos)
love.graphics.present()