From 1cc79666b100b54a80e8c6815c818b0bd36f3715 Mon Sep 17 00:00:00 2001 From: simurai Date: Wed, 21 Sep 2016 21:19:35 +0900 Subject: [PATCH] Add custom-title-bar class So themes/packages can adapt to the custom title-bar --- src/atom-environment.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/src/atom-environment.coffee b/src/atom-environment.coffee index 63bb7141c..e3029dc33 100644 --- a/src/atom-environment.coffee +++ b/src/atom-environment.coffee @@ -694,6 +694,7 @@ class AtomEnvironment extends Model if process.platform is 'darwin' and @config.get('core.useCustomTitleBar') @workspace.addHeaderPanel({item: new TitleBar({@workspace, @themes, @applicationDelegate})}) + @document.body.classList.add('custom-title-bar') @document.body.appendChild(@views.getView(@workspace)) @backgroundStylesheet?.remove()