diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-08-15 15:45:02 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-08-15 15:45:02 -0700 |
commit | 9e0cd4ad4cde0296350e5b0440ab6e6424dc1262 (patch) | |
tree | 5d190a7c157fb511eaf55a5af32e38a75adcc4f9 /text_tests.lua | |
parent | 974d17ffc071e2eb254d0dbc11cf932c62e59d5c (diff) | |
download | view.love-9e0cd4ad4cde0296350e5b0440ab6e6424dc1262.tar.gz |
stop confusingly reading a global
The way Text.draw is called by edit.draw, we know it'll never be called for lines above screen_top1.line. Comparing every line on screen with screen_top1 makes no sense. The intent is really just to compare with screen_top1 only for the first line, and otherwise to ignore this check.
Diffstat (limited to 'text_tests.lua')
0 files changed, 0 insertions, 0 deletions