From 2c76f9bee7c279f348bf01f7697271b6644ad12f Mon Sep 17 00:00:00 2001 From: meganrogge Date: Thu, 24 Feb 2022 12:24:28 -0600 Subject: [PATCH] remove height as a factor for lineheight --- src/browser/services/DecorationService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/services/DecorationService.ts b/src/browser/services/DecorationService.ts index f2d7e5cd..ed3c7224 100644 --- a/src/browser/services/DecorationService.ts +++ b/src/browser/services/DecorationService.ts @@ -124,7 +124,7 @@ export class Decoration extends Disposable implements IDecoration { this._element.style.width = `${this.width * renderService.dimensions.actualCellWidth}px`; this._element.style.height = `${this.height * renderService.dimensions.actualCellHeight}px`; this._element.style.top = `${(this.marker.line - this._bufferService.buffers.active.ydisp) * renderService.dimensions.actualCellHeight}px`; - this._element.style.lineHeight = `${this.height * renderService.dimensions.actualCellHeight}px`; + this._element.style.lineHeight = `${renderService.dimensions.actualCellHeight}px`; if (this.x && this.x > this._bufferService.cols) { // exceeded the container width, so hide