diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-16 18:54:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-16 18:54:54 -0700 |
commit | 71cb28e474173f17ccb84e99ededfe8c33b798d1 (patch) | |
tree | b88fc2e669e7a06799920ed9712a0a4967f91c33 /main.lua | |
parent | 824bb491f7f7187442cf65e9f7033a91830ddd4e (diff) | |
download | lines.love-71cb28e474173f17ccb84e99ededfe8c33b798d1.tar.gz |
position cursor more precisely
I don't quite follow why this magic number needs to have this precise value.
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main.lua b/main.lua index 365bf71..dd5f9e6 100644 --- a/main.lua +++ b/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) |