Skip to content

Make diagram resize configurable #33

@NiklasRentzCAU

Description

@NiklasRentzCAU

I am talking specifically about this line:
https://github.com/eclipse/sprotty-theia/blob/e14752e73bd553881891355a44d3dc6173ea9228/src/theia/diagram-widget.ts#L142

Currently on resize the zoom level is always reset with the CenterAction that is forced to be executed here. I would like to have this configurable so that a FitToScreenAction or no action at all is executed instead of the CenterAction.

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