1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

Merge branch 'master' into add-editor-rulers

This commit is contained in:
Junyoung Choi
2018-03-22 22:30:03 +09:00
45 changed files with 381 additions and 119 deletions

View File

@@ -69,6 +69,10 @@ ipc.on('update-app-confirm', function (event, msg) {
}
})
app.on('window-all-closed', function () {
app.quit()
})
app.on('ready', function () {
mainWindow = require('./main-window')

View File

@@ -56,11 +56,8 @@ if (process.platform === 'darwin' || process.env.DESKTOP_SESSION === 'cinnamon')
app.on('before-quit', function (e) {
mainWindow.removeAllListeners()
})
} else {
app.on('window-all-closed', function () {
app.quit()
})
}
mainWindow.on('resize', _.throttle(storeWindowSize, 500))
function storeWindowSize () {