Skip to content

Commit a7679a5

Browse files
committed
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...
1 parent 02c6a30 commit a7679a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/modules/love/callbacks.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function love.errorhandler(msg)
291291

292292
local function draw()
293293
if not love.graphics.isActive() then return end
294-
local pos = 70
294+
local pos = 60
295295
love.graphics.clear(89/255, 157/255, 220/255)
296296
love.graphics.printf(p, pos, pos, love.graphics.getWidth() - pos)
297297
love.graphics.present()

0 commit comments

Comments
 (0)