position cursor more precisely

I don't quite follow why this magic number needs to have this precise value.
This commit is contained in:
Kartik K. Agaram 2022-05-16 18:54:54 -07:00
parent 824bb491f7
commit 71cb28e474

View File

@ -152,7 +152,7 @@ function love.draw()
end
-- cursor
love.graphics.setColor(0,0,0)
love.graphics.print('_', 25+text:getWidth()*1.5, y)
love.graphics.print('_', 25+text:getWidth()*1.5, y+6) -- drop the cursor down a bit to account for the increased font size
end
function love.update(dt)