mirror of
https://github.com/mossy1022/Smart-Connections-Visualizer.git
synced 2026-07-22 10:20:27 +00:00
open on right side
This commit is contained in:
parent
27386dd6ee
commit
54ba69d6e2
1 changed files with 1 additions and 1 deletions
2
main.ts
2
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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue