[Desktop] Enable lockOnCenter by default only on macOS

This commit is contained in:
Bruno Lemos
2018-12-28 03:28:58 -02:00
parent 3a34096363
commit cc51488a05

View File

@@ -18,7 +18,7 @@ const dock: Electron.Dock | null = app.dock || null
// TODO: Persist these and also the window size/position and preferences
let isMenuBarMode = false
let lockOnCenter = true
let lockOnCenter = process.platform === 'darwin'
const canEnableMenuBarMode = process.platform === 'darwin'
app.setName('DevHub')