wire up mouse wheel

This commit is contained in:
Kartik K. Agaram 2023-12-02 12:01:28 -08:00
parent e405a0aa42
commit e21f093a10
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
on.mouse_wheel_move = function(dx,dy)
if Show_code then
-- nothing yet
if App.mouse_y() < Current_pane.editor_state.bottom then
edit.mouse_wheel_move(Current_pane.editor_state, dx,dy)
else
edit.mouse_wheel_move(Current_pane.output_editor_state, dx,dy)
end
else
-- editors hidden
if car.mouse_wheel_move then