Closed justfry closed 2 years ago
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
<g class="v-background-viewport"...
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.
Hi @justfry, Thank you very much for your report. Fixed grid scaling when scalingObjects: true is specified. Please check it out v0.3.7.
scalingObjects: true
@dash14 Oh my god it works! Thank you!
I have following config
And
<g class="v-background-viewport"...
scaling along with other objects with grid on backgroundWhen 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](https://user-images.githubusercontent.com/35431809/142600168-75e82c09-8381-45ac-a718-9a1885044dab.png)