mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-16 11:15:12 +00:00
focus previous app after hiding Finder window
This commit is contained in:
@@ -149,6 +149,9 @@ function hideFinder () {
|
|||||||
finderWindow.minimize()
|
finderWindow.minimize()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (process.platform === 'darwin') {
|
||||||
|
Menu.sendActionToFirstResponder('hide:')
|
||||||
|
}
|
||||||
finderWindow.hide()
|
finderWindow.hide()
|
||||||
}
|
}
|
||||||
module.exports = finderWindow
|
module.exports = finderWindow
|
||||||
|
|||||||
Reference in New Issue
Block a user