setSheetOffset to height of titlebar

This commit is contained in:
Philipp Brumm
2016-07-02 13:01:14 +02:00
parent 6370db9d99
commit 29dab2e5b2

View File

@@ -46,6 +46,9 @@ class AtomWindow
@browserWindow = new BrowserWindow options
global.atomApplication.addWindow(this)
if process.platform is 'darwin' and global.atomApplication.config.get('core.useCustomTitleBar')
@browserWindow.setSheetOffset(23)
@handleEvents()
loadSettings = Object.assign({}, settings)