Skip to content

Commit b537501

Browse files
committed
1 parent 9aebfa2 commit b537501

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/browser/ui/centered/centeredViewLayout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class CenteredViewLayout {
5858
private emptyViews: ISplitViewView[] | undefined;
5959
private splitViewDisposables: IDisposable[] = [];
6060

61-
constructor(private container: HTMLElement, private view: IView, public readonly state: CenteredViewState = GOLDEN_RATIO) {
61+
constructor(private container: HTMLElement, private view: IView, public readonly state: CenteredViewState = { leftMarginRatio: GOLDEN_RATIO.leftMarginRatio, rightMarginRatio: GOLDEN_RATIO.rightMarginRatio }) {
6262
this.container.appendChild(this.view.element);
6363
// Make sure to hide the split view overflow like sashes #52892
6464
this.container.style.overflow = 'hidden';

0 commit comments

Comments
 (0)