diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:37:32 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2023-12-16 23:41:10 -0800 |
commit | c29be0ffce7132d607077b3e7dda342fc3c4c461 (patch) | |
tree | 321c7af322ae82e16c76d015fb0065f60cec0988 /edit.lua | |
parent | 961f29613197bace7925d14f492114fea7b81214 (diff) | |
download | view.love-c29be0ffce7132d607077b3e7dda342fc3c4c461.tar.gz |
streamline button.lua
Diffstat (limited to 'edit.lua')
-rw-r--r-- | edit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.lua b/edit.lua index cfc1478..7b913fc 100644 --- a/edit.lua +++ b/edit.lua @@ -235,7 +235,7 @@ function edit.mouse_press(State, x,y, mouse_button) if State.search_term then return end State.mouse_down = mouse_button --? print_and_log(('edit.mouse_press: cursor at %d,%d'):format(State.cursor1.line, State.cursor1.pos)) - if mouse_press_consumed_by_any_button_handler(State, x,y, mouse_button) then + if mouse_press_consumed_by_any_button(State, x,y, mouse_button) then -- press on a button and it returned 'true' to short-circuit return end |