mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user