Skip to content

Commit ef75c4b

Browse files
committed
1 parent dba94d9 commit ef75c4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/base/browser/ui/splitview/paneview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)