about summary refs log tree commit diff stats
path: root/run.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-01-06 17:38:40 -0800
committerKartik K. Agaram <vc@akkartik.com>2023-01-06 17:39:10 -0800
commite8ec87255f94db9c6f1a0db10449f6304440a350 (patch)
treef1a6c362f728b75d0b2223a94c10c0f330fae680 /run.lua
parentc7de47440b96f03e3eabe43ea0f46b894ebd86d7 (diff)
downloadtext.love-e8ec87255f94db9c6f1a0db10449f6304440a350.tar.gz
bugfix
lines.love was broken since Dec 23 X-( Didn't get caught because all my
tests start at edit, not at main or run. I need 'integration' tests.
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.lua b/run.lua
index a736e20..45df7c9 100644
--- a/run.lua
+++ b/run.lua
@@ -154,9 +154,9 @@ function run.settings()
   }
 end
 
-function run.mouse_pressed(x,y, mouse_button)
+function run.mouse_press(x,y, mouse_button)
   Cursor_time = 0  -- ensure cursor is visible immediately after it moves
-  return edit.mouse_pressed(Editor_state, x,y, mouse_button)
+  return edit.mouse_press(Editor_state, x,y, mouse_button)
 end
 
 function run.mouse_release(x,y, mouse_button)