diff options
author | 2021-10-27 07:25:26 +0530 | |
---|---|---|
committer | 2021-10-27 07:25:26 +0530 | |
commit | 477bdd76a7405ff10a5cfabdec00ee9ae02f2698 (patch) | |
tree | bfa8cfb70e6852b9f535ccfd9b05712269a70dc1 /src/index.ts | |
parent | Bumped up ferdi beta version to '5.6.3-beta.2' (diff) | |
parent | 5.6.3-nightly.44 [skip ci] (diff) | |
download | ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.gz ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.zst ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.zip |
Merge branch 'nightly' into release
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index b4a754289..89903a669 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -627,6 +627,10 @@ ipcMain.on('set-spellchecker-locales', (_e, { locale, serviceId }) => { | |||
627 | serviceSession.setSpellCheckerLanguages(locales); | 627 | serviceSession.setSpellCheckerLanguages(locales); |
628 | }); | 628 | }); |
629 | 629 | ||
630 | ipcMain.on('window.toolbar-double-clicked', () => { | ||
631 | mainWindow?.isMaximized() ? mainWindow.unmaximize() : mainWindow?.maximize(); | ||
632 | }); | ||
633 | |||
630 | // Quit when all windows are closed. | 634 | // Quit when all windows are closed. |
631 | app.on('window-all-closed', () => { | 635 | app.on('window-all-closed', () => { |
632 | // On OS X it is common for applications and their menu bar | 636 | // On OS X it is common for applications and their menu bar |