From 471f6e0fa5b960b199fd077f4b3a9cd5c7882b55 Mon Sep 17 00:00:00 2001 From: Tony Ganch Date: Mon, 19 Jun 2017 14:34:37 +0200 Subject: [PATCH] Fix invisible titlebar on macOS 10.13 --- atom/browser/native_window_mac.mm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/atom/browser/native_window_mac.mm b/atom/browser/native_window_mac.mm index f46400ec0b02..d4c53be6376e 100644 --- a/atom/browser/native_window_mac.mm +++ b/atom/browser/native_window_mac.mm @@ -899,9 +899,7 @@ NativeWindowMac::NativeWindowMac( if (transparent() || !has_frame()) { if (base::mac::IsAtLeastOS10_10()) { // Don't show title bar. - if (title_bar_style_ == CUSTOM_BUTTONS_ON_HOVER) { - [window_ setTitlebarAppearsTransparent:YES]; - } + [window_ setTitlebarAppearsTransparent:YES]; [window_ setTitleVisibility:NSWindowTitleHidden]; } // Remove non-transparent corners, see http://git.io/vfonD.