We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47398d commit 779b648Copy full SHA for 779b648
lib/renderer.ts
@@ -140,7 +140,7 @@ export class CanvasRenderer {
140
141
constructor(canvas: HTMLCanvasElement, options: RendererOptions = {}) {
142
this.canvas = canvas;
143
- const ctx = canvas.getContext('2d', { alpha: false });
+ const ctx = canvas.getContext('2d', { alpha: true });
144
if (!ctx) {
145
throw new Error('Failed to get 2D rendering context');
146
}
0 commit comments