about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-06-02 23:40:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-06-02 23:40:20 -0700
commit0b63721bb0eb2c8feb62450d34e1eb86ae2352d0 (patch)
tree0fa0ddf0433e283fd56e47a1e191ef952030cc28 /main.lua
parent9bbfc2be13636040d2084f4ed20fee51a9219bc6 (diff)
downloadtext.love-0b63721bb0eb2c8feb62450d34e1eb86ae2352d0.tar.gz
extract a new variable
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index f9cfe32..f75e287 100644
--- a/main.lua
+++ b/main.lua
@@ -63,6 +63,7 @@ Previous_drawing_mode = nil
 
 Font_height = 14
 Line_height = 15
+Margin_top = 15
 
 Filename = love.filesystem.getUserDirectory()..'/lines.txt'
 
@@ -135,7 +136,7 @@ function App.draw()
     line.y = nil
   end
   assert(Text.le1(Screen_top1, Cursor1))
-  local y = 15
+  local y = Margin_top
 --?   print('== draw')
   for line_index,line in ipairs(Lines) do
 --?     print('draw:', y, line_index, line)