weasel API - v0.8.0
    Preparing search index...

    Function usePinchZoomTool

    • Two-finger pinch zoom on the canvas. Standalone hook (not a Tool record) because it requires direct multi-pointer access on the canvas element.

      The anchor point under the gesture midpoint stays fixed on screen as the view scales.

      Parameters

      Returns void