Fix non-default backgrounds on left cell of wide/overlapping chars

Fixes #1031
This commit is contained in:
Daniel Imms
2017-10-05 20:30:09 -07:00
parent 108534a4fe
commit 356a14bb16
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -146,6 +146,11 @@ export class TextRenderLayer extends BaseRenderLayer {
}
}
// Clear the cell next to this character if it's wide
if (width === 2) {
this.clearCells(x + 1, y, 1, 1);
}
// Draw background
if (bg < 256) {
this._ctx.save();