Skip to content

Commit 5a0091f

Browse files
committed
💄
1 parent d5af2a2 commit 5a0091f

1 file changed

Lines changed: 6 additions & 11 deletions

File tree

src/vs/base/browser/ui/grid/grid.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -698,19 +698,14 @@ export class View implements IView {
698698
}
699699

700700
layout(width: number, height: number, orientation: Orientation): void {
701-
if (!this.visible && this.orientation === orientation) {
702-
return;
703-
}
704-
705-
706-
707-
if (this.visible) {
708-
this.view.layout(width, height, orientation);
701+
this.orientation = orientation;
709702

710-
this.width = width;
711-
this.height = height;
703+
if (!this.visible) {
704+
return;
712705
}
713706

714-
this.orientation = orientation;
707+
this.view.layout(width, height, orientation);
708+
this.width = width;
709+
this.height = height;
715710
}
716711
}

0 commit comments

Comments
 (0)