Skip to content

Commit 8cc9fa3

Browse files
committed
cleanup update window position
1 parent b187d48 commit 8cc9fa3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/editor/ReactWebView.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ class ReactWebView {
4747

4848
// update panel on changes
4949
const updateWindows = () => {
50-
vscode.commands.executeCommand('vscode.setEditorLayout', {
51-
orientation: 0,
52-
groups: [{groups: [{}], size: 0.6}, {groups: [{}], size: 0.4}],
53-
})
50+
vscode.commands.executeCommand('coderoad.open_webview')
5451
}
5552

5653
// prevents new panels from going on top of coderoad panel

0 commit comments

Comments
 (0)