Skip to content

Commit

Permalink
foldingController nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoyokrazy committed Jan 22, 2024
1 parent 3b0a528 commit ae38cac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class NotebookStickyLine extends Disposable {
}

private toggleFoldRange(currentState: CellFoldingState) {
const foldingController = this.notebookEditor.getContribution('workbench.notebook.foldingController') as FoldingController;
const foldingController = this.notebookEditor.getContribution<FoldingController>(FoldingController.id);

const index = this.entry.index;
const headerLevel = this.entry.level;
Expand Down

0 comments on commit ae38cac

Please sign in to comment.