Skip to content

Commit

Permalink
fixes #78505
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Aug 5, 2019
1 parent 3015179 commit 15a523f
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -281,6 +281,11 @@ export class SettingsEditor2 extends BaseEditor {

layout(dimension: DOM.Dimension): void {
this.dimension = dimension;

if (!this.isVisible()) {
return;
}

this.layoutTrees(dimension);

const innerWidth = Math.min(1000, dimension.width) - 24 * 2; // 24px padding on left and right;
Expand Down

0 comments on commit 15a523f

Please sign in to comment.