File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/foam-vscode/src/features/panels Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,8 @@ export default async function activate(
2323 if ( panel ) {
2424 panel . reveal ( ) ;
2525 } else {
26- const columnToShowIn = vscode . window . activeTextEditor
27- ? vscode . ViewColumn . Beside
28- : vscode . ViewColumn . Two ;
2926 const foam = await foamPromise ;
30- panel = await createGraphPanel ( foam , context , columnToShowIn ) ;
27+ panel = await createGraphPanel ( foam , context ) ;
3128 const onFoamChanged = _ => {
3229 updateGraph ( panel , foam ) ;
3330 } ;
@@ -119,7 +116,7 @@ async function createGraphPanel(
119116 const panel = vscode . window . createWebviewPanel (
120117 'foam-graph' ,
121118 'Foam Graph' ,
122- viewColumn ?? vscode . ViewColumn . Two ,
119+ viewColumn ?? vscode . ViewColumn . Beside ,
123120 {
124121 enableScripts : true ,
125122 retainContextWhenHidden : true ,
You can’t perform that action at this time.
0 commit comments