|
|
@ -795,7 +795,7 @@ window.TermScreen = class TermScreen { |
|
|
|
for (let cell of updateMap.keys()) updateRedrawMapAt(cell) |
|
|
|
for (let cell of updateMap.keys()) updateRedrawMapAt(cell) |
|
|
|
|
|
|
|
|
|
|
|
// mask to redrawing regions only
|
|
|
|
// mask to redrawing regions only
|
|
|
|
if (this.window.graphics > 1) { |
|
|
|
if (this.window.graphics >= 1) { |
|
|
|
ctx.save() |
|
|
|
ctx.save() |
|
|
|
ctx.beginPath() |
|
|
|
ctx.beginPath() |
|
|
|
for (let y = 0; y < height; y++) { |
|
|
|
for (let y = 0; y < height; y++) { |
|
|
@ -892,7 +892,7 @@ window.TermScreen = class TermScreen { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (this.window.graphics > 1) ctx.restore() |
|
|
|
if (this.window.graphics >= 1) ctx.restore() |
|
|
|
|
|
|
|
|
|
|
|
if (this.window.debug && this._debug) this._debug.drawEnd() |
|
|
|
if (this.window.debug && this._debug) this._debug.drawEnd() |
|
|
|
} |
|
|
|
} |
|
|
|