Update src/browser/Decorations/OverviewRulerRenderer.ts

Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
Megan Rogge
2022-03-15 14:59:09 -04:00
committed by GitHub
co-authored by Daniel Imms
parent a93f81c270
commit 8488f1ad63
@@ -73,7 +73,7 @@ export class OverviewRulerRenderer extends Disposable {
} else {
this._canvas.style.left = decoration.options.x ? `${decoration.options.x * this._renderService.dimensions.actualCellWidth}px` : '';
}
if (!decoration.options.overviewRulerOptions?.color) {
if (!decoration.options.overviewRulerOptions) {
this._decorationElements.delete(decoration);
return;
}