about summary refs log tree commit diff stats
path: root/button.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-08-15 15:45:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-08-15 15:45:02 -0700
commit9e0cd4ad4cde0296350e5b0440ab6e6424dc1262 (patch)
tree5d190a7c157fb511eaf55a5af32e38a75adcc4f9 /button.lua
parent974d17ffc071e2eb254d0dbc11cf932c62e59d5c (diff)
downloadview.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 'button.lua')
0 files changed, 0 insertions, 0 deletions