Make sure we layout editors in sideBySideEditor after they are created (#125445)
Fixes #125202 This make sure we always invoke `layout` when a new editor is created in a split view. Due to the caching added in0449a18b7b
, the `WebviewEditor` created by the split view never had `layout` called on it Not sure if this is best fix for this issue. If not, I suggest we revert0449a18b7b
and then revisit it next iteration
This commit is contained in:
parent
387e2f39eb
commit
8163cfd8c5
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,8 @@ export class SideBySideEditor extends EditorPane {
|
|||
this.secondaryEditorPane.setInput(secondaryInput, undefined, context, token),
|
||||
this.primaryEditorPane.setInput(primaryInput, options, context, token)]
|
||||
);
|
||||
|
||||
this.layout(this.dimension);
|
||||
}
|
||||
|
||||
override updateStyles(): void {
|
||||
|
|
Loading…
Reference in a new issue