Skip to content

Commit

Permalink
fix(plugin-outline): fix matched title highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyJinSS committed Mar 25, 2024
1 parent bd85ca3 commit e6ac33f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/plugin-outline-pane/src/views/tree-title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,15 @@ export default class TreeTitle extends PureComponent<{

componentDidMount() {
const { treeNode } = this.props;
const { filterWorking, matchSelf, keywords } = treeNode.filterReult;
this.setState({
editing: false,
title: treeNode.titleLabel,
condition: treeNode.condition,
visible: !treeNode.hidden,
filterWorking,
matchSelf,
keywords,
});
treeNode.onTitleLabelChanged(() => {
this.setState({
Expand Down

0 comments on commit e6ac33f

Please sign in to comment.