cm-chessboard 5.5.5 → 5.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -71,7 +71,7 @@ export class RenderVideo extends Extension {
|
|
|
71
71
|
let clonedSvgElement = this.chessboard.view.svg.cloneNode(true)
|
|
72
72
|
let serialized = new XMLSerializer().serializeToString(clonedSvgElement)
|
|
73
73
|
const blob = new Blob([serialized], {type: "image/svg+xml"})
|
|
74
|
-
const blobURL = URL.createObjectURL(blob)
|
|
74
|
+
const blobURL = URL.createObjectURL(blob)
|
|
75
75
|
const image = new Image()
|
|
76
76
|
image.onload = () => {
|
|
77
77
|
let context = this.canvas.getContext('2d')
|