Skip to content

Use symmetric exponential formula for wheel zoom #614

@urjitc

Description

@urjitc

The handleWheel function in setupZoomGestures uses 1 - e.deltaY * 0.01 to compute the zoom factor. With standard mouse wheels (deltaY ≈ 100 per notch), one notch down yields a factor of 0 (clamped to 0.1), while one notch up yields 2.0. This makes zoom-out aggressive compared to zoom-in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions