mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix full decorations
This commit is contained in:
@@ -143,10 +143,12 @@ export class OverviewRulerRenderer extends Disposable {
|
||||
}
|
||||
this._ctx.clearRect(0, 0, this._canvas.width, this._canvas.height);
|
||||
for (const decoration of this._decorationService.decorations) {
|
||||
if (!decoration.options.overviewRulerOptions?.position) {
|
||||
continue;
|
||||
if (decoration.options.overviewRulerOptions && decoration.options.overviewRulerOptions.position !== 'full') {
|
||||
this._renderDecoration(decoration, updateAnchor);
|
||||
}
|
||||
if (decoration.options.overviewRulerOptions.position !== 'full') {
|
||||
}
|
||||
for (const decoration of this._decorationService.decorations) {
|
||||
if (decoration.options.overviewRulerOptions && decoration.options.overviewRulerOptions.position === 'full') {
|
||||
this._renderDecoration(decoration, updateAnchor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user