Skip to content

Commit 0d85cd4

Browse files
authored
1 parent 5c55541 commit 0d85cd4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/vs/workbench/browser/parts/editor/sideBySideEditor.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,13 @@ export class SideBySideEditor extends AbstractEditorWithViewState<ISideBySideEdi
203203
// Splitview widget
204204
this.splitview = this.splitviewDisposables.add(new SplitView(parent, { orientation: this.orientation }));
205205
this.splitviewDisposables.add(this.splitview.onDidSashReset(() => this.splitview?.distributeViewSizes()));
206-
this.splitview.orthogonalEndSash = this._boundarySashes?.bottom;
206+
207+
if (this.orientation === Orientation.HORIZONTAL) {
208+
this.splitview.orthogonalEndSash = this._boundarySashes?.bottom;
209+
} else {
210+
this.splitview.orthogonalStartSash = this._boundarySashes?.left;
211+
this.splitview.orthogonalEndSash = this._boundarySashes?.right;
212+
}
207213

208214
// Figure out sizing
209215
let leftSizing: number | Sizing = Sizing.Distribute;

0 commit comments

Comments
 (0)