Skip to content

Commit

Permalink
0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zsviczian committed Jul 5, 2022
1 parent da27948 commit e01cf7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 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.1.2",
"version": "0.1.3",
"minAppVersion": "0.15.3",
"description": "A clean, intuitive and editable graph view for Obsidian",
"author": "Zsolt Viczian",
Expand Down
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,7 @@ export default class ExcaliBrain extends Plugin {
this.EA.onLinkClickHook = (element,linkText,event) => {
const path = linkText.match(/\[\[([^\]]*)/)[1];
const page = this.pages.get(path);
//shift click will offer to create the page for the unresolved link
if(!event.shiftKey && page && page.isVirtual) {
this.scene?.renderGraphForPath(path);
return false;
Expand All @@ -499,6 +500,7 @@ export default class ExcaliBrain extends Plugin {
return false;
}
}
this.scene?.renderGraphForPath(path);
return true;
}
this.scene?.renderGraphForPath(path);
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"0.1.2": "0.15.3",
"0.1.3": "0.15.3",
"0.1.0": "0.15.2",
"0.0.22": "0.14.0"
}

0 comments on commit e01cf7b

Please sign in to comment.