chore: remove extra setTitlebarAppearsTransparent (#27042)

This commit is contained in:
Cheng Zhao
2020-12-18 09:51:05 +09:00
committed by GitHub
parent f99ea7c0ba
commit cdc94e4cef

View File

@@ -471,11 +471,6 @@ NativeWindowMac::NativeWindowMac(const gin_helper::Dictionary& options,
}
}
// Hide the title bar background
if (title_bar_style_ != TitleBarStyle::kNormal) {
[window_ setTitlebarAppearsTransparent:YES];
}
// Hide the title bar.
if (title_bar_style_ == TitleBarStyle::kHiddenInset) {
base::scoped_nsobject<NSToolbar> toolbar(