From d54eb2ea3183e16cfe162300b95157d1a986d24d Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 16 Sep 2025 18:17:29 +0200 Subject: lib/love: floor text coordinates --- alv-lib/love.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alv-lib/love.moon b/alv-lib/love.moon index f29da91..7dff57e 100644 --- a/alv-lib/love.moon +++ b/alv-lib/love.moon @@ -222,7 +222,7 @@ Create a shape that draws the text `str` with font `font` (or the default font). fnt or= love.graphics.getFont! width = fnt\getWidth str height = fnt\getHeight! - love.graphics.print str, fnt, width*wm, -height/2 + love.graphics.print str, fnt, math.floor(width*wm), math.floor(-height/2) color = Constant.meta meta: -- cgit v1.2.3