From d63178244bfff87f0b6e17f0a67305fe684193ae Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 12 Dec 2022 23:31:50 -0800 Subject: [PATCH] switch one call back to keychord_pressed I don't understand why, but we need to fix production. --- drawing_tests.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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