fabric-brush
fabric-brush copied to clipboard
doesn't work with canvas.setZoom(x)
Hi
Great library. I have an issue so far: it doesn't work if you change canvas zoom level. It also doesn't "drop" the shape on my canvas.
Any thought?
OK got it working with zoom by passing viewportTransform.
vp = this.canvas.viewportTransform;
ctx.transform(vp[0], vp[1], vp[2], vp[3], vp[4], vp[5]);
Where in the code exactly did you add that?