()
| 115 | const gfCanvas = $('#gf-canvas'); |
| 116 | const gfCtx = gfCanvas.getContext('2d'); |
| 117 | const gfResize = () => { gfCanvas.width = gfCanvas.clientWidth; gfCanvas.height = gfCanvas.clientHeight; }; |
| 118 | gfResize(); |
| 119 | window.addEventListener('resize', gfResize); |
| 120 |