Attach (recommended) or Link to PDF file here:

Configuration:
- Web browser and its version: firefox 96.0
- Operating system and its version: Arch linux, sway (wayland)
- PDF.js version: Whatever came with the browser
- Is a browser extension: no

Steps to reproduce the problem:
1. Open any pdf, can reproduce it on https://mozilla.github.io/pdf.js/web/viewer.html
2. Scroll in with ctrl+mouse wheel using a normal mouse, not a touch pad.

Expected behaviour:
It zooms in with small steps. It can for example be the same steps as ctrl+plus.

Behaviour:
It scrolls in and out way to quickly. It jumps in the steps: 10%, 70%, 150%, 300%, 570%, 1000%.

Notes:
Cannot reproduce on chromium with the web viewer on https://mozilla.github.io/pdf.js/web/viewer.html
const appConfig = PDFViewerApplication.appConfig;
  let file;
  if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
    const queryString = document.location.search.substring(1);
    const params = parseQueryString(queryString);
    file = params.get("file") ?? AppOptions.get("defaultUrl");
    validateFileURL(file);
  } else if (PDFJSDev.test("MOZCENTRAL")) {
    file = window.location.href;
  } else if (PDFJSDev.test("CHROME")) {
    file = AppOptions.get("defaultUrl");
  }
  if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
    const fileInput = document.createElement("input");
    fileInput.id = appConfig.openFileInputName;
    fileInput.className = "fileInput";
    fileInput.setAttribute("type", "file");
    fileInput.oncontextmenu = noContextMenuHandler;
    document.body.appendChild(fileInput);
    if (
      !window.File ||
      !window.FileReader ||
      !window.FileList ||