Skip to content

Commit

Permalink
Merge pull request #2974 from AndyJinSS/filter-highlight
Browse files Browse the repository at this point in the history
fix(plugin-outline): fix matched title highlight
  • Loading branch information
1ncounter authored Jul 3, 2024
2 parents 6950329 + 58f5bb8 commit 9000a87
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 @@ -86,12 +86,16 @@ 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,
loop: treeNode.loop,
visible: !treeNode.hidden,
filterWorking,
matchSelf,
keywords,
});
treeNode.onTitleLabelChanged(() => {
this.setState({
Expand Down

0 comments on commit 9000a87

Please sign in to comment.