From 54ba69d6e26926177f527fbac8136c6f4e4fc1ff Mon Sep 17 00:00:00 2001 From: Brian Joseph Petro Date: Mon, 3 Feb 2025 10:57:10 -0500 Subject: [PATCH] open on right side --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 2441711..798b735 100644 --- a/main.ts +++ b/main.ts @@ -2077,7 +2077,7 @@ export default class ScGraphView extends Plugin { this.app.workspace.setActiveLeaf(existingLeaf); } else { // Create a new leaf in the current workspace - let leaf = this.app.workspace.getLeaf(true); + let leaf = this.app.workspace.getRightLeaf(false); // Set the new leaf's view to your custom view leaf.setViewState({ type: "smart-connections-visualizer",