mirror of
https://github.com/xuquan-nikkkki/FolderFile-Splitter-Plugin.git
synced 2026-07-22 05:37:28 +00:00
feat: open file tree leaf when workspace layout ready
This commit is contained in:
parent
8b6450f2d7
commit
cd33ccc324
1 changed files with 4 additions and 1 deletions
|
|
@ -28,7 +28,10 @@ export default class AppleStyleNotesPlugin extends Plugin {
|
|||
callback: async () => await this.openFileTreeLeaf(true),
|
||||
});
|
||||
|
||||
}
|
||||
this.app.workspace.onLayoutReady(async () => {
|
||||
await this.openFileTreeLeaf(true);
|
||||
});
|
||||
}
|
||||
|
||||
onunload() {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue