Fix webgl alignment issues

No idea why this worked but it did
This commit is contained in:
Daniel Imms
2021-08-19 05:41:49 -07:00
parent 24cbedb715
commit 338d94daf9
@@ -394,7 +394,7 @@ export class WebglCharAtlas implements IDisposable {
// Draw custom characters if applicable
let drawSuccess = false;
if (this._config.customGlyphs !== false) {
drawSuccess = tryDrawCustomChar(this._tmpCtx, chars, TMP_CANVAS_GLYPH_PADDING, TMP_CANVAS_GLYPH_PADDING, this._config.scaledCellWidth, this._config.scaledCellHeight);
drawSuccess = tryDrawCustomChar(this._tmpCtx, chars, padding, padding, this._config.scaledCellWidth, this._config.scaledCellHeight);
}
// Draw the character