about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-12-16 23:49:20 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-12-16 23:49:20 -0800
commitaa4d80f157a46eccaf8d6f85033142e44e958e96 (patch)
treef11ff4efade72bf0ebcf3f2ac91832923a230a31 /source_edit.lua
parent67e3a43b523d1398dbfc5b2f9c4ab129921ee4bb (diff)
parentc29be0ffce7132d607077b3e7dda342fc3c4c461 (diff)
downloadview.love-aa4d80f157a46eccaf8d6f85033142e44e958e96.tar.gz
Merge lines.love
Diffstat (limited to 'source_edit.lua')
-rw-r--r--source_edit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/source_edit.lua b/source_edit.lua
index 40af2e8..0af9949 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -239,7 +239,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