position cursor more precisely
I don't quite follow why this magic number needs to have this precise value.
This commit is contained in:
parent
824bb491f7
commit
71cb28e474
2
main.lua
2
main.lua
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user