Wondering if there's a bug in the toSkMatrix function.
I think maybe if (jsMatrix instanceof geometry.DOMMatrix)
should be if (jsMatrix instanceof DOMMatrix)
I'm rendering a PDF file (with PDFjs lib) using skia-canvas and it works fine, except sometimes it crashes in toSkMatrix function, because there's no 'true' path in the tests. If I update with jsMatrix instanceof DOMMatrix it works fine.
Wondering if there's a bug in the
toSkMatrix
function. I think maybeif (jsMatrix instanceof geometry.DOMMatrix)
should beif (jsMatrix instanceof DOMMatrix)
I'm rendering a PDF file (with PDFjs lib) using skia-canvas and it works fine, except sometimes it crashes in
toSkMatrix
function, because there's no 'true' path in the tests. If I update withjsMatrix instanceof DOMMatrix
it works fine.