diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-08-17 09:40:44 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-08-17 09:40:44 -0700 |
commit | dd899d20964342f22f4a82912d5722a5c9f5e663 (patch) | |
tree | 588c76329ee7101915237466292b822a21456db9 /select.lua | |
parent | f029c710b5f9c8af00d4146af57cbfb8dcda29e8 (diff) | |
download | text.love-dd899d20964342f22f4a82912d5722a5c9f5e663.tar.gz |
standardize scroll check in a few places
I'm taking some lessons from pensieve.love here. It seem like specific pixel thresholds don't matter too much for plain lines.love. I'd probably feel safer if I just used Text.cursor_out_of_screen in these places, but it means we draw the screen twice for most events[1]. Let's see if we can get by with the current approach. [1] Or we have to start scheduling things for the next draw, which is more complex to orchestrate.
Diffstat (limited to 'select.lua')
0 files changed, 0 insertions, 0 deletions