Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56b7ee0

Browse files
committed
fix "invalid grid state" warning
1 parent06e89d2 commit56b7ee0

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

‎src/editor/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ class Editor {
1212
// set out 60/40 layout
1313
vscode.commands.executeCommand('vscode.setEditorLayout',{
1414
orientation:0,
15-
groups:[
16-
{groups:[{}],size:0.6},
17-
{groups:[{}],size:0.4},
18-
],
15+
groups:[{size:0.6},{size:0.4}],
1916
})
2017

2118
// commands

‎src/webview/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ const createReactWebView = ({ extensionPath, workspaceState, workspaceRoot }: Re
6464
createOrShow(){
6565
vscode.commands.executeCommand('vscode.setEditorLayout',{
6666
orientation:0,
67-
groups:[
68-
{groups:[{}],size:0.6},
69-
{groups:[{}],size:0.4},
70-
],
67+
groups:[{size:0.6},{size:0.4}],
7168
})
7269
// If we already have a panel, show it.
7370
// Otherwise, create a new panel.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp