Skip to content

Commit 4162134

Browse files
author
Aiday Marlen Kyzy
authored
Merge pull request microsoft#158730 from microsoft/aiday/issue158571
Placing sticky scroll above zone widget
2 parents eab7774 + f6b1d0a commit 4162134

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
4949

5050
}
5151

52+
5253
public get lineNumbers(): number[] {
5354
return this._lineNumbers;
5455
}
@@ -93,6 +94,7 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
9394
const renderLineInput: RenderLineInput =
9495
new RenderLineInput(true, true, lineRenderingData.content,
9596
lineRenderingData.continuesWithWrappedLine,
97+
9698
lineRenderingData.isBasicASCII, lineRenderingData.containsRTL, 0,
9799
lineRenderingData.tokens, actualInlineDecorations,
98100
lineRenderingData.tabSize, lineRenderingData.startVisibleColumn,
@@ -182,6 +184,7 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
182184
} else if (minimapSide === 'right') {
183185
this._rootDomNode.style.marginLeft = '0px';
184186
}
187+
this._rootDomNode.style.zIndex = '11';
185188
}
186189

187190
public getId(): string {

0 commit comments

Comments
 (0)