Merge pull request #2578 from Tyriar/85048

Don't throw when rendering before atlas is set
This commit is contained in:
Daniel Imms
2019-11-24 09:26:13 -08:00
committed by GitHub
@@ -184,7 +184,7 @@ export class GlyphRenderer {
let rasterizedGlyph: IRasterizedGlyph;
if (!this._atlas) {
throw new Error('atlas must be set before updating cell');
return;
}
if (chars && chars.length > 1) {
rasterizedGlyph = this._atlas.getRasterizedGlyphCombinedChar(chars, bg, fg);