浏览代码

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.");

正在加载...
取消
保存