delete unused arg

This commit is contained in:
Kartik K. Agaram 2022-05-19 05:41:04 -07:00
parent 18bb4624b3
commit d482694a2a
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
Drawing = {}
geom = require 'geom'
function Drawing.draw(line, y)
function Drawing.draw(line)
local pmx,pmy = love.mouse.getX(), love.mouse.getY()
if pmx < 16+Drawing_width and pmy > line.y and pmy < line.y+Drawing.pixels(line.h) then
love.graphics.setColor(0.75,0.75,0.75)

View File

@ -128,7 +128,7 @@ function love.draw()
end
elseif line.mode == 'drawing' then
y = y+Drawing.pixels(line.h)
Drawing.draw(line, y)
Drawing.draw(line)
else
Text.draw(line, line_index, Cursor_line, y, Cursor_pos)
end