1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-05-27 01:42:02 +00:00

Merge branch 'master' of github.com:BoostIO/Boostnote

This commit is contained in:
Dick Choi
2016-08-14 17:37:21 +09:00
5 changed files with 24 additions and 10 deletions

View File

@@ -30,12 +30,21 @@ function toggleFinder () {
finderWindow.show()
}
} else {
if (!finderWindow.isMinimized()) {
finderWindow.minimize()
if (finderWindow.isVisible()) {
finderWindow.blur()
finderWindow.hide()
} else {
nodeIpc.of.node.emit('request-data')
finderWindow.restore()
finderWindow.show()
finderWindow.focus()
}
// if (!finderWindow.isMinimized()) {
// finderWindow.minimize()
// } else {
// nodeIpc.of.node.emit('request-data')
// finderWindow.restore()
// finderWindow.focus()
// }
}
}