Skip to content

Zoom stops at 4x #669

Backlog
Backlog

Description

@styl5030

Follow-up to #660. As you suggested, the change is attached as a patch (applies with git am on top of 5485f91a).

Problem
ZOOM_MAX is 4, which is tight for placing objects dot by dot on long, narrow labels.

Proposed change
ZOOM_MAX goes from 4 to 8, with steps at 6 and 8. The wheel and the zoom buttons follow.

Tests
A new useCanvasPanZoom.test.tsx zooms in and out across the new steps and checks that the wheel stops at 8. It fails on main. pnpm lint, tsc -b and pnpm test pass.

Not changed here: when the fit zoom is above the maximum, the + button steps back down to the maximum.

zplab-zoom-8x.patch

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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