mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-10 16:49:36 +01:00
null -> undefined
This commit is contained in:
@@ -61,8 +61,8 @@ class Settings {
|
||||
const minimapOpts = options.get(EditorOption.minimap);
|
||||
const minimapEnabled = minimapOpts.enabled;
|
||||
const minimapSide = minimapOpts.side;
|
||||
const backgroundColor = (minimapEnabled ? TokenizationRegistry.getDefaultBackground() : null);
|
||||
if (backgroundColor === null || minimapSide === 'left') {
|
||||
const backgroundColor = (minimapEnabled ? TokenizationRegistry.getDefaultBackground() : undefined);
|
||||
if (typeof backgroundColor === 'undefined' || minimapSide === 'left') {
|
||||
this.backgroundColor = null;
|
||||
} else {
|
||||
this.backgroundColor = Color.Format.CSS.formatHex(backgroundColor);
|
||||
|
||||
Reference in New Issue
Block a user