Make centerEditorLayout do not call layout#77743
Conversation
|
@jeanp413 Do not understand how this fix is related and fixes this? |
|
Sorry, read the main issue and understood the root cause. But did you check when is the layout called when not in center editor layout mode? |
|
Yes, do you mean this? vscode/src/vs/workbench/browser/workbench.ts Lines 143 to 150 in 3889970 |
|
Let's check with @isidorn if this change is ok or not. |
|
@jeanp413 thanks for your PR. |
|
On startup the layout gets called by the workbench and yes in that case it is ok that the centered editor layout does not call layout. |
Not sure if this is the right fix but it seems to not break anything. Maybe need to call layout later?
Fixes #76494.