This commit is contained in:
Kartik K. Agaram 2022-05-19 05:50:33 -07:00
parent f69e17d350
commit f144bdfc20
1 changed files with 1 additions and 1 deletions

View File

@ -108,9 +108,9 @@ function love.draw()
end
local y = 0
for line_index,line in ipairs(Lines) do
if y > Screen_height then break end
if line_index >= Screen_top_line then
y = math.floor(y+15*Zoom)
if y > Screen_height then break end
Screen_bottom_line = line_index
line.y = y
if line.mode == 'text' and line.data == '' then