mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Update src/browser/Decorations/OverviewRulerRenderer.ts
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user