diff --git a/lib/utils.js b/lib/utils.js index eb422a0..327f899 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -261,7 +261,7 @@ export function getNewCanvasAndCtx (width, height) { canvas = new OffscreenCanvas(width, height) ctx = canvas.getContext('2d') if (ctx === null) { - throw new Error('getContext of OffscreenCanvas returns null') + throw new Error("getContext of OffscreenCanvas returns null") } } catch (e) { canvas = document.createElement('canvas')