main.ts: Fix main title bar check
This commit is contained in:
@@ -608,7 +608,8 @@ if (OS.isWindows()) {
|
||||
}
|
||||
|
||||
const mainTitleBarStyle =
|
||||
OS.hasCustomTitleBar() && !isTestEnvironment(getEnvironment())
|
||||
(OS.isMacOS() || OS.hasCustomTitleBar()) &&
|
||||
!isTestEnvironment(getEnvironment())
|
||||
? ('hidden' as const)
|
||||
: ('default' as const);
|
||||
|
||||
|
Reference in New Issue
Block a user