Skip to content

Commit

Permalink
Mitigate #68385
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Feb 24, 2019
1 parent bf1420b commit 80e3634
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/contrib/preferences/browser/settingsTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,9 @@ class SettingsTreeDelegate implements IListVirtualDelegate<SettingsTreeGroupChil
return 40 + (7 * element.level);
}

return 78;
return element instanceof SettingsTreeSettingElement && element.valueType === SettingValueType.Boolean ?
78 :
104;
}

getTemplateId(element: SettingsTreeGroupElement | SettingsTreeSettingElement | SettingsTreeNewExtensionsElement): string {
Expand Down

0 comments on commit 80e3634

Please sign in to comment.