From 06c784b576c401b11c6629e09c00504f8746b229 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 7 Sep 2022 10:16:24 -0700 Subject: self-documenting 0 Test_right_margin --- source_edit.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source_edit.lua') diff --git a/source_edit.lua b/source_edit.lua index a65537d..bcb1297 100644 --- a/source_edit.lua +++ b/source_edit.lua @@ -515,14 +515,17 @@ end --== some methods for tests +-- Insulate tests from some key globals so I don't have to change the vast +-- majority of tests when they're modified for the real app. Test_margin_left = 25 +Test_margin_right = 0 function edit.initialize_test_state() -- if you change these values, tests will start failing return edit.initialize_state( 15, -- top margin Test_margin_left, - App.screen.width, -- right margin = 0 + App.screen.width - Test_margin_right, 14, -- font height assuming default LÖVE font 15) -- line height end -- cgit 1.4.1-2-gfad0 with TTY improvementsdanisanti <danisanti@tilde.institute>
about summary refs log blame commit diff stats
path: root/tests/unittests/ui/stub_ui.c
blob: 6d008414bbf1152f41e8001e6cc68a6c0133386b (plain) (tree)
1
2
3
4
5
6
7
8
9