Skip to content

Commit

Permalink
fix(code/frontend): fix wrong symbol range (#46157) (#46306)
Browse files Browse the repository at this point in the history
  • Loading branch information
WangQianliang authored Sep 23, 2019
1 parent 73bb9b3 commit f809ea5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class CodeSymbolTree extends React.PureComponent<Props, { activeSymbol?:
item.items = this.symbolsToSideNavItems(s.members);
}
item.renderItem = this.getStructureTreeItemRenderer(
s.range,
s.selectionRange,
s.name,
s.kind,
s.members.length > 0,
Expand All @@ -119,7 +119,7 @@ export class CodeSymbolTree extends React.PureComponent<Props, { activeSymbol?:
);
} else {
item.renderItem = this.getStructureTreeItemRenderer(
s.range,
s.selectionRange,
s.name,
s.kind,
false,
Expand Down

0 comments on commit f809ea5

Please sign in to comment.