switch one call back to keychord_pressed

I don't understand why, but we need to fix production.
This commit is contained in:
Kartik K. Agaram 2022-12-12 23:31:50 -08:00
parent 39ffe7f411
commit d63178244b
1 changed files with 1 additions and 1 deletions

View File

@ -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