fabricjs-viewport
fabricjs-viewport copied to clipboard
Zoom does not work on background image.
When you set up a background image using setBackgroundImage the image is not zoomed, only the contents.
That's the way background/overlay images work in fabric i.e. they're not part of the contents. In fact, I'd go so far as to say that background/overlay images are useless in fabric.
I ended up adding a background image as a layer and making it non-interactive, which works well.
Yeah, I did this too. It works as expected. So the background really gets useless in this context as we have this easy workaround. Thanks!