Sfoglia il codice sorgente

Minor tweaks to NESPainter

dev-tmpl
Bryan Miller 6 anni fa
parent
commit
2db6070556
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/js/NESPainter.js

+ 1
- 1
app/js/NESPainter.js Vedi File

@@ -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…
Annulla
Salva