Skip to content

Commit

Permalink
Bug fix on: #24
Browse files Browse the repository at this point in the history
  • Loading branch information
kctekn committed Oct 25, 2024
1 parent 3ca9145 commit 250ad36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/TagsRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ export class TagRoutesView extends ItemView {
(fileExplorerView.view as any).revealInFolder(file);
// 将焦点重新设置到之前的活动叶子
if (activeLeaf) {
this.app.workspace.setActiveLeaf(activeLeaf, { focus: true });
// this.app.workspace.setActiveLeaf(activeLeaf, { focus: true });
(fileExplorerView.view as any).tree.focusedItem = null;
}
} catch (error) {
Expand Down

0 comments on commit 250ad36

Please sign in to comment.