瀏覽代碼

Minor tweaks to NESPainter

dev-tmpl
Bryan Miller 6 年之前
父節點
當前提交
2db6070556
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/js/NESPainter.js

+ 1
- 1
app/js/NESPainter.js 查看文件

@@ -8,7 +8,7 @@ export class NESPainter {

if (!canvas)
throw new Error("Expected a canvas element.");
this.__canvas = canvas
this.__canvas = canvas;
this.__context = this.__canvas.getContext("2d");
if (!this.__context)
throw new Error("Failed to obtain canvas context.");

Loading…
取消
儲存