We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5af2a2 commit 5a0091fCopy full SHA for 5a0091f
1 file changed
src/vs/base/browser/ui/grid/grid.ts
@@ -698,19 +698,14 @@ export class View implements IView {
698
}
699
700
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);
+ this.orientation = orientation;
709
710
- this.width = width;
711
- this.height = height;
+ if (!this.visible) {
+ return;
712
713
714
- this.orientation = orientation;
+ this.view.layout(width, height, orientation);
+ this.width = width;
+ this.height = height;
715
716
0 commit comments