mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
TypeError: Cannot set property 'enabled' of undefined
This commit is contained in:
parent
1668f39d82
commit
a765e68c72
|
@ -887,6 +887,9 @@ export class DiffEditorWidget extends EventEmitter implements editorBrowser.IDif
|
|||
clonedOptions.codeLens = false;
|
||||
clonedOptions.fixedOverflowWidgets = true;
|
||||
clonedOptions.lineDecorationsWidth = '2ch';
|
||||
if (!clonedOptions.minimap) {
|
||||
clonedOptions.minimap = {};
|
||||
}
|
||||
clonedOptions.minimap.enabled = false;
|
||||
return clonedOptions;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue