Update src/browser/renderer/shared/TextureAtlas.ts
This commit is contained in:
@@ -532,9 +532,7 @@ export class TextureAtlas implements ITextureAtlas {
|
|||||||
// Underline style/stroke
|
// Underline style/stroke
|
||||||
this._tmpCtx.beginPath();
|
this._tmpCtx.beginPath();
|
||||||
const xLeft = padding;
|
const xLeft = padding;
|
||||||
const yTop = restrictToCellHeight ?
|
const yTop = Math.ceil(padding + this._config.deviceCharHeight) - yOffset - (restrictToCellHeight ? lineWidth * 2 : 0);
|
||||||
Math.ceil(padding + this._config.deviceCharHeight) - yOffset - lineWidth * 2 :
|
|
||||||
Math.ceil(padding + this._config.deviceCharHeight) - yOffset;
|
|
||||||
const yMid = yTop + lineWidth;
|
const yMid = yTop + lineWidth;
|
||||||
const yBot = yTop + lineWidth * 2;
|
const yBot = yTop + lineWidth * 2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user