Skip to content

Commit a02a1e1

Browse files
author
aiday-mar
committed
Changing input to fromOutlineModel
1 parent ef5ff54 commit a02a1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class StickyLineCandidateProvider extends Disposable {
9595
return;
9696
}
9797
if (outlineModel.children.size !== 0) {
98-
this._outlineModel = StickyOutlineElement.fromOutlineModel(outlineModel);
98+
this._outlineModel = StickyOutlineElement.fromOutlineModel(outlineModel, -1);
9999
} else {
100100
const foldingController = FoldingController.get(this._editor);
101101
const foldingModel = await foldingController?.getFoldingModel();

0 commit comments

Comments
 (0)