A lightweight programming environment for desktop and mobile devices
on.mouse_wheel_move = function(dx,dy)
	if Show_code then
		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
			call_protected(car.mouse_wheel_move, dx,dy)
		end
		if car.wheelmoved then
			call_protected(car.wheelmoved, dx,dy)
		end
	end
end