mirror of
https://github.com/zhigang1992/devhub.git
synced 2026-06-17 02:51:16 +08:00
[Desktop] Enable lockOnCenter by default only on macOS
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user