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

Disable scale for grid when scalingObjects: true #17

Closed
justfry opened this issue Nov 19, 2021 · 2 comments
Closed

Disable scale for grid when scalingObjects: true #17

justfry opened this issue Nov 19, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@justfry
Copy link

justfry commented Nov 19, 2021

I have following config

view: {
        panEnabled: true,
        zoomEnabled: true,
        scalingObjects: true,
        fit: true,
        layoutHandler: new GridLayout({ grid: 20 }),
        grid: {
            visible: true,
        },
    },

And <g class="v-background-viewport"... scaling along with other objects with grid on background

image

When i turn scalingObjects option to false everything back to normal, but my task is scale nodes and edges on zoom and leave background grid fullscreen.
image

@dash14 dash14 added the bug Something isn't working label Nov 20, 2021
@dash14
Copy link
Owner

dash14 commented Nov 20, 2021

Hi @justfry,
Thank you very much for your report.
Fixed grid scaling when scalingObjects: true is specified.
Please check it out v0.3.7.

@justfry
Copy link
Author

justfry commented Nov 20, 2021

@dash14 Oh my god it works! Thank you!

@justfry justfry closed this as completed Nov 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants