16 lines
415 B
Plaintext
16 lines
415 B
Plaintext
on.mouse_wheel_move = function(dx,dy)
|
|
if not Show_code then
|
|
if car.mouse_wheel_move then
|
|
call_protected(car.mouse_wheel_move, dx,dy)
|
|
end
|
|
if car.wheelmoved then
|
|
call_protected(car.wheelmoved, dx,dy)
|
|
end
|
|
else
|
|
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(Output_editor_state, dx,dy)
|
|
end
|
|
end
|
|
end |