Merge pull request #2578 from Tyriar/85048
Don't throw when rendering before atlas is set
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user