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