From 18bb4624b354e20848175c534e610ed6d718c722 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 19 May 2022 04:28:08 -0700 Subject: [PATCH] ensure integer coordinates https://love2d.org/wiki/Text says text can appear blurry otherwise. I can't tell yet, though. --- main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.lua b/main.lua index a23f426..a1410fe 100644 --- a/main.lua +++ b/main.lua @@ -109,7 +109,7 @@ function love.draw() local y = 0 for line_index,line in ipairs(Lines) do if line_index >= Screen_top_line then - y = y+15*Zoom + y = math.floor(y+15*Zoom) if y > Screen_height then break end Screen_bottom_line = line_index line.y = y