We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40e0f49 commit 30dc021Copy full SHA for 30dc021
1 file changed
src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.ts
@@ -61,8 +61,8 @@ class Settings {
61
const minimapOpts = options.get(EditorOption.minimap);
62
const minimapEnabled = minimapOpts.enabled;
63
const minimapSide = minimapOpts.side;
64
- const backgroundColor = (minimapEnabled ? TokenizationRegistry.getDefaultBackground() : null);
65
- if (backgroundColor === null || minimapSide === 'left') {
+ const backgroundColor = (minimapEnabled ? TokenizationRegistry.getDefaultBackground() : undefined);
+ if (typeof backgroundColor === 'undefined' || minimapSide === 'left') {
66
this.backgroundColor = null;
67
} else {
68
this.backgroundColor = Color.Format.CSS.formatHex(backgroundColor);
0 commit comments