diff options
Diffstat (limited to 'run.lua')
-rw-r--r-- | run.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run.lua b/run.lua index 9af9604..ea96a76 100644 --- a/run.lua +++ b/run.lua @@ -163,6 +163,11 @@ function run.mouse_release(x,y, mouse_button) return edit.mouse_release(Editor_state, x,y, mouse_button) end +function run.mouse_wheel_move(dx,dy) + Cursor_time = 0 -- ensure cursor is visible immediately after it moves + return edit.mouse_wheel_move(Editor_state, dx,dy) +end + function run.text_input(t) Cursor_time = 0 -- ensure cursor is visible immediately after it moves return edit.text_input(Editor_state, t) |