• Apply the zoom factor to the whole interface.

    In the desktop app we use the webview's native zoom, which scales every pixel uniformly (exactly like browser zoom) — the only mechanism that also scales the px-based icons and inline sizes scattered through the UI. The webview resets to 100% on each launch, so callers re-apply the persisted value on boot. In the browser dev server there is no Tauri webview, so we fall back to the CSS zoom property. Only one mechanism is ever active, so the two never compound.

    Parameters

    • zoom: number

    Returns void