Skip to content

Commit bb2367a

Browse files
authored
Merge pull request #3711 from Tyriar/3705_2
Don't change overview ruler position based on decorations
2 parents 8528e8e + 02795f8 commit bb2367a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/browser/Decorations/OverviewRulerRenderer.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,6 @@ export class OverviewRulerRenderer extends Disposable {
141141
}
142142

143143
private _refreshStyle(decoration: IInternalDecoration): void {
144-
if (this._shouldUpdateAnchor) {
145-
if (decoration.options.anchor === 'right') {
146-
this._canvas.style.right = decoration.options.x ? `${decoration.options.x * this._renderService.dimensions.actualCellWidth}px` : '';
147-
} else {
148-
this._canvas.style.left = decoration.options.x ? `${decoration.options.x * this._renderService.dimensions.actualCellWidth}px` : '';
149-
}
150-
}
151144
if (!decoration.options.overviewRulerOptions) {
152145
this._decorationElements.delete(decoration);
153146
return;

0 commit comments

Comments
 (0)