about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-12-12 23:31:50 -0800
committerKartik K. Agaram <vc@akkartik.com>2022-12-12 23:31:50 -0800
commitd63178244bfff87f0b6e17f0a67305fe684193ae (patch)
tree6df0d614f75d26077c8dada576977db85881b663
parent39ffe7f411d75687b57232ae39e5b280dccfacc4 (diff)
downloadview.love-d63178244bfff87f0b6e17f0a67305fe684193ae.tar.gz
switch one call back to keychord_pressed
I don't understand why, but we need to fix production.
-rw-r--r--drawing_tests.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawing_tests.lua b/drawing_tests.lua
index 36ad2e8..feadd85 100644
--- a/drawing_tests.lua
+++ b/drawing_tests.lua
@@ -162,7 +162,7 @@ function test_keys_do_not_affect_shape_when_mouse_up()
   edit.draw(Editor_state)
   -- hover over drawing and press 'o' without holding mouse
   App.mouse_move(Editor_state.left+4, Editor_state.top+Drawing_padding_top+4)  -- hover on drawing
-  edit.run_after_textinput(Editor_state, 'o')
+  edit.run_after_keychord(Editor_state, 'o')
   -- no change to drawing mode
   check_eq(Editor_state.current_drawing_mode, 'line', 'F - test_keys_do_not_affect_shape_when_mouse_up/drawing_mode')
   -- no change to text either because we didn't run the textinput event