rename css, fix background color getting applied

This commit is contained in:
meganrogge
2022-03-15 10:37:38 -04:00
parent 3e47c96445
commit 39f9c3507b
3 changed files with 6 additions and 4 deletions
@@ -29,7 +29,7 @@ export class OverviewRulerRenderer extends Disposable {
) {
super();
this._canvas = document.createElement('canvas');
this._canvas.classList.add('xterm-decoration-scrollbar');
this._canvas.classList.add('xterm-decoration-overview-ruler');
this._viewportElement.parentElement?.insertBefore(this._canvas, this._viewportElement);
this._ctx = this._canvas.getContext('2d');
this._canvas.style.width = `${this._optionsService.options.overviewRulerWidth || ScrollbarConstants.WIDTH}px`;