File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/vs/workbench/browser/parts/editor Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,13 @@ export class SideBySideEditor extends AbstractEditorWithViewState<ISideBySideEdi
203
203
// Splitview widget
204
204
this . splitview = this . splitviewDisposables . add ( new SplitView ( parent , { orientation : this . orientation } ) ) ;
205
205
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
+ }
207
213
208
214
// Figure out sizing
209
215
let leftSizing : number | Sizing = Sizing . Distribute ;
You can’t perform that action at this time.
0 commit comments