You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing the zoom of an illustration (illo.zoom) and then updating the render graph, the zoom value is ignored. It just stays at the initial value.
Weirdly this doesnt happen on codepen, just on local websites where zdog is used. I dont understand why.
Just in case somebody has still has this problem, this is how I dealt with it:
On redraw explicitly call illustation.setSizeSvg(illustration.width, illustration.height) after updateRenderGraph(), this resets the viewport taking zoom into account.
When changing the zoom of an illustration (illo.zoom) and then updating the render graph, the zoom value is ignored. It just stays at the initial value.
Weirdly this doesnt happen on codepen, just on local websites where zdog is used. I dont understand why.
here it works https://codepen.io/jacasch/pen/oKWjvx
here it doesn't https://github.com/jacasch/zdog-zoom-test
The text was updated successfully, but these errors were encountered: