File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/vs/workbench/services/layout/browser Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -320,9 +320,11 @@ export function shouldShowCustomTitleBar(configurationService: IConfigurationSer
320
320
const inFullscreen = isFullscreen ( window ) ;
321
321
const nativeTitleBarEnabled = hasNativeTitlebar ( configurationService ) ;
322
322
323
- const showCustomTitleBar = configurationService . getValue < CustomTitleBarVisibility > ( TitleBarSetting . CUSTOM_TITLE_BAR_VISIBILITY ) ;
324
- if ( showCustomTitleBar === CustomTitleBarVisibility . NEVER && nativeTitleBarEnabled || showCustomTitleBar === CustomTitleBarVisibility . WINDOWED && inFullscreen ) {
325
- return false ;
323
+ if ( ! isWeb ) {
324
+ const showCustomTitleBar = configurationService . getValue < CustomTitleBarVisibility > ( TitleBarSetting . CUSTOM_TITLE_BAR_VISIBILITY ) ;
325
+ if ( showCustomTitleBar === CustomTitleBarVisibility . NEVER && nativeTitleBarEnabled || showCustomTitleBar === CustomTitleBarVisibility . WINDOWED && inFullscreen ) {
326
+ return false ;
327
+ }
326
328
}
327
329
328
330
if ( ! isTitleBarEmpty ( configurationService ) ) {
You can’t perform that action at this time.
0 commit comments