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

View File

@@ -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