launcher: start hidden on mac is "start minimized" is set
This commit is contained in:
parent
d387397c14
commit
f78814ba45
2 changed files with 8 additions and 1 deletions
|
|
@ -13,6 +13,9 @@
|
|||
- xy/multixy: add `axisLock` property; allow locking one the axis by holding `Shift` while dragging if `axisLock` is not set, bypasses it otherwise.
|
||||
- knob/fader/range: add `colorKnob` property
|
||||
|
||||
- misc
|
||||
- on Mac, start with the launcher window hidden if `Start minimized` is set
|
||||
|
||||
## 1.25.7
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -63,7 +63,11 @@ module.exports = function(options={}) {
|
|||
window.once('ready-to-show', ()=>{
|
||||
window.show()
|
||||
if (options.id === 'launcher' && settings.read('startMinimized')) {
|
||||
window.minimize()
|
||||
if (process.platform === 'darwin') {
|
||||
window.hide()
|
||||
} else {
|
||||
window.minimize()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue