about summary refs log tree commit diff stats
path: root/text_tests.lua
diff options
context:
space:
mode:
Diffstat (limited to 'text_tests.lua')
-rw-r--r--text_tests.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/text_tests.lua b/text_tests.lua
index 4398252..221d969 100644
--- a/text_tests.lua
+++ b/text_tests.lua
@@ -427,7 +427,7 @@ function test_pagedown_skips_drawings()
   Cursor1 = {line=1, pos=1}
   Screen_top1 = {line=1, pos=1}
   Screen_bottom1 = {}
-  local drawing_height = 20 + App.screen.width / 2  -- default
+  local drawing_height = Drawing_padding_height + App.screen.width / 2  -- default
   -- initially the screen displays the first line and the drawing
   -- 15px margin + 15px line1 + 10px margin + 25px drawing + 10px margin = 75px < screen height 80px
   App.draw()