diff --git a/source/src/index.tsx b/source/src/index.tsx index 8cecf56..349f90c 100644 --- a/source/src/index.tsx +++ b/source/src/index.tsx @@ -30,8 +30,6 @@ export class RickGamePanel { const panel = document.createElement('div') panel.style.cssText = `width: 100%; max-width: 400px;` this.canvas = document.createElement('canvas') - this.canvas.width = 300 - this.canvas.height = 200 this.canvas.style.cssText = `width: 100%; border: 2px solid #333; background: #000; cursor: pointer;` panel.appendChild(this.canvas) this.container.appendChild(panel)