Skip to content

Commit 84d62bb

Browse files
authored
Merge pull request microsoft#78507 from microsoft/joao/fix-78505
Fix: Settings editor renders all tree elements at once
2 parents 1155cdf + 15a523f commit 84d62bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,11 @@ export class SettingsEditor2 extends BaseEditor {
281281

282282
layout(dimension: DOM.Dimension): void {
283283
this.dimension = dimension;
284+
285+
if (!this.isVisible()) {
286+
return;
287+
}
288+
284289
this.layoutTrees(dimension);
285290

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

0 commit comments

Comments
 (0)