Skip to content

Commit

Permalink
Fix bad Monaco range in outline contribution (#12306)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work authored Mar 20, 2023
1 parent de84d3a commit afdae63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/monaco/src/browser/monaco-outline-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ export class MonacoOutlineContribution implements FrontendApplicationContributio
id: displayName,
name: displayName,
iconClass: '',
range: this.asRange(new monaco.Range(0, 0, 0, 0)),
fullRange: this.asRange(new monaco.Range(0, 0, 0, 0)),
range: this.asRange(new monaco.Range(1, 1, 1, 1)),
fullRange: this.asRange(new monaco.Range(1, 1, 1, 1)),
children,
parent: undefined,
selected: false,
Expand Down

0 comments on commit afdae63

Please sign in to comment.