Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(canvas): set correct inner viewbox for planes #580

Merged
merged 2 commits into from
Oct 29, 2021

Conversation

marstamm
Copy link
Contributor

When I am not using the default plane for rendering, the viewport is incorrectly calculated. This manifests in problems when the viewbox is used, e.g. when calling canvas.zoom('fit-viewport', 'auto').

See example from Cockpit:

recording (35)

@marstamm marstamm requested review from a team, philippfromme and barmac and removed request for a team October 27, 2021 14:54
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Oct 27, 2021
@fake-join fake-join bot merged commit b459553 into develop Oct 29, 2021
@fake-join fake-join bot deleted the plane-viewbox-fix branch October 29, 2021 08:32
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants