Skip to content

Make max zoom level (scale) configurable #26

Open
@magnusart

Description

@magnusart

The max zoom level is hardcoded in these places which limit maximum zoom level (scale) of 500%. I have some diagrams with quite a few nodes where this level of zoom is not enough to make the diagram readable. This diagram is an exception from the typical case, but it would be very helpful to be able to increase the zoom level (scale) in the plugin settings.

panzoomInstance = Panzoom(element, {
maxScale: 5,
minScale: 0.5,
contain: "outside",
});

panzoomInstance = Panzoom(element, {
maxScale: 5,
minScale: 0.5,
contain: "outside",
});

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