fix demo in epiphany

This commit is contained in:
Jörg Breitbart
2022-12-06 13:40:25 +01:00
parent ad1f2ac2a8
commit e46a9e12d0
2 changed files with 16 additions and 13 deletions
@@ -373,6 +373,9 @@ export abstract class BaseRenderLayer extends Disposable implements IRenderLayer
} else {
glyph = this._charAtlas.getRasterizedGlyph(cell.getCode() || WHITESPACE_CELL_CODE, this._cellColorResolver.result.bg, this._cellColorResolver.result.fg, this._cellColorResolver.result.ext);
}
if (!glyph.size.x || !glyph.size.y) {
return;
}
this._ctx.save();
this._clipRow(y);
// Draw the image, use the bitmap if it's available