about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index d12a8e2..0856221 100644
--- a/main.lua
+++ b/main.lua
@@ -125,7 +125,7 @@ function love.draw()
             love.graphics.setColor(0,0,0)
             love.graphics.print('_', 25, y+6)  -- drop the cursor down a bit to account for the increased font size
           end
-        y = math.floor(y+15*Zoom)  -- text height
+        y = y + math.floor(15*Zoom)  -- text height
       elseif line.mode == 'drawing' then
         y = y+10 -- padding
         line.y = y
@@ -134,7 +134,7 @@ function love.draw()
       else
         line.y = y
         Text.draw(line, line_index, Cursor_line, Cursor_pos)
-        y = math.floor(y+15*Zoom)  -- text height
+        y = y + math.floor(15*Zoom)  -- text height
       end
     end
   end