1
0
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:
Rokt33r
2015-12-21 22:18:37 +09:00
parent 6950e05b6a
commit 2571ea021a

View File

@@ -149,6 +149,9 @@ function hideFinder () {
finderWindow.minimize()
return
}
if (process.platform === 'darwin') {
Menu.sendActionToFirstResponder('hide:')
}
finderWindow.hide()
}
module.exports = finderWindow