File from UNC-folders twice time opened in same instance after changes (fixes #24003)

This commit is contained in:
Benjamin Pasero
2017-04-12 07:33:27 +02:00
parent 91334c8e8c
commit 67cf007432
15 changed files with 33 additions and 43 deletions

View File

@@ -572,7 +572,6 @@ export class VSCodeWindow {
}
let background = this.storageService.getItem<string>(VSCodeWindow.themeBackgroundStorageKey, null);
console.log('itm ' + background);
if (!background) {
let baseTheme = this.getBaseTheme();
return baseTheme === 'hc-black' ? '#000000' : (baseTheme === 'vs' ? '#FFFFFF' : (platform.isMacintosh ? '#171717' : '#1E1E1E')); // https://github.com/electron/electron/issues/5150