fix double title on windows (again)

This commit is contained in:
Benjamin Pasero
2018-08-28 12:12:22 +02:00
parent f881f8c422
commit c8494e2b1b
+1 -1
View File
@@ -181,7 +181,7 @@ export class CodeWindow implements ICodeWindow {
if (isLinux) {
useCustomTitleStyle = windowConfig && windowConfig.titleBarStyle === 'custom';
} else {
useCustomTitleStyle = windowConfig && windowConfig.titleBarStyle !== 'native';
useCustomTitleStyle = !windowConfig || !windowConfig.titleBarStyle || windowConfig.titleBarStyle === 'custom'; // Default to custom on Windows
}
}