Skip to content

Commit

Permalink
0.2.14
Browse files Browse the repository at this point in the history
  • Loading branch information
zsviczian committed Feb 18, 2024
1 parent bcde388 commit 46c0bb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "excalibrain",
"name": "ExcaliBrain",
"version": "0.2.13",
"version": "0.2.14",
"minAppVersion": "1.1.6",
"description": "A clean, intuitive and editable graph view for Obsidian",
"author": "Zsolt Viczian",
Expand Down
9 changes: 3 additions & 6 deletions src/excalibrain-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,13 +639,10 @@ export default class ExcaliBrain extends Plugin {
(async()=>{
const source = page.getParents()[0] ?? page.getLeftFriends()[0] ?? page.getRightFriends()[0] ?? page.getChildren()[0];
const f = await ea.newFilePrompt(page.path, false, undefined, source?.page.file);
if(!f) return;
page.file = f;
if(isEmbedFileType(f,ea)) {
this.scene.renderGraphForPath(path);
} else {
this.scene.renderGraphForPath(path,false);
return true;
}
await this.scene.renderGraphForPath(path);
await this.scene.reRender(true);
})();
}
return false;
Expand Down

0 comments on commit 46c0bb6

Please sign in to comment.