Fix non-default backgrounds on left cell of wide/overlapping chars
Fixes #1031
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user