diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-29 16:13:24 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-29 16:13:24 -0700 |
commit | d441f8a760635b9352fa1682143470162009813d (patch) | |
tree | b2a2a1bfbc4c6f46bdf60ba6434918e54b6c6d90 /geom.lua | |
parent | 6aeb89386cfe050d3c5afad886f711d48cc2d518 (diff) | |
download | lines.love-d441f8a760635b9352fa1682143470162009813d.tar.gz |
some helpers
I spent some time trying to reduce the duplication between identical operations with and without the shift key pressed. However it makes things harder to understand. If you try to process selection in App.keychord_pressed in main.lua, you have to sometimes process the selection before (e.g. including the state of the cursor _before_ an arrow key takes effect), and sometimes after (e.g. copying the selection before resetting it, even though it doesn't include a shift key) Let's just leave things as they are.
Diffstat (limited to 'geom.lua')
0 files changed, 0 insertions, 0 deletions