Skip to content

Commit

Permalink
fix: split editors layout not follow settings
Browse files Browse the repository at this point in the history
close #1330
  • Loading branch information
johnsoncodehk committed May 22, 2022
1 parent bcc0408 commit f07f6a5
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -25,20 +25,20 @@ export function activate(context: vscode.ExtensionContext) {
leftBlocks.push(descriptor.script);
}
if (layout.right.includes('script')) {
leftBlocks.push(descriptor.script);
rightBlocks.push(descriptor.script);
}
}
if (descriptor.scriptSetup) {
if (layout.left.includes('scriptSetup')) {
rightBlocks.push(descriptor.scriptSetup);
leftBlocks.push(descriptor.scriptSetup);
}
if (layout.right.includes('scriptSetup')) {
rightBlocks.push(descriptor.scriptSetup);
}
}
if (descriptor.template) {
if (layout.left.includes('template')) {
rightBlocks.push(descriptor.template);
leftBlocks.push(descriptor.template);
}
if (layout.right.includes('template')) {
rightBlocks.push(descriptor.template);
Expand Down

0 comments on commit f07f6a5

Please sign in to comment.