Skip to content

Sprotty's Fit Action needs to adapt to topdown layout #219

@NiklasRentzCAU

Description

@NiklasRentzCAU

The fit action (triggered for example via the "Text selects Diagram" option for editor-diagram synchronization) centers the element, scales it to the viewport, but limits the zoom to 1. For us, the fit action should be overwritten to incorporate the current total zoom level of the element and set that as the zoom limit, so that the viewport pans and zooms into the element that should be fitted correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions