File tree Expand file tree Collapse file tree
src/vs/base/browser/ui/splitview Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ export abstract class Pane extends Disposable implements IView {
124124 constructor ( options : IPaneOptions ) {
125125 super ( ) ;
126126 this . _expanded = typeof options . expanded === 'undefined' ? true : ! ! options . expanded ;
127- this . _orientation = typeof options . orientation === 'undefined' ? Orientation . VERTICAL : Orientation . HORIZONTAL ;
127+ this . _orientation = typeof options . orientation === 'undefined' ? Orientation . VERTICAL : options . orientation ;
128128 this . ariaHeaderLabel = localize ( 'viewSection' , "{0} Section" , options . title ) ;
129129 this . _minimumBodySize = typeof options . minimumBodySize === 'number' ? options . minimumBodySize : 120 ;
130130 this . _maximumBodySize = typeof options . maximumBodySize === 'number' ? options . maximumBodySize : Number . POSITIVE_INFINITY ;
You can’t perform that action at this time.
0 commit comments