about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
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