mirror of
https://github.com/atom/atom.git
synced 2026-01-27 07:47:58 -05:00
setSheetOffset to height of titlebar
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user