diff options
author | André Oliveira <oliveira.andrerodrigues95@gmail.com> | 2022-07-28 12:11:16 +0100 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-07-29 07:41:00 +0530 |
commit | c3faa1497486f00620017d028af5f4f358b04ffa (patch) | |
tree | 21b97d3b55472b291ecfe538873ffcb2a235c4b8 /src | |
parent | Update submodules, browserslist data updates and linter fixes [skip ci] (diff) | |
download | ferdium-app-c3faa1497486f00620017d028af5f4f358b04ffa.tar.gz ferdium-app-c3faa1497486f00620017d028af5f4f358b04ffa.tar.zst ferdium-app-c3faa1497486f00620017d028af5f4f358b04ffa.zip |
fix: maximize window after tray clicking
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/index.ts b/src/index.ts index affbcd64a..9a1163067 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -346,6 +346,7 @@ const createWindow = () => { | |||
346 | debug('Window: maximize'); | 346 | debug('Window: maximize'); |
347 | // @ts-expect-error Property 'isMaximized' does not exist on type 'App'. | 347 | // @ts-expect-error Property 'isMaximized' does not exist on type 'App'. |
348 | app.isMaximized = true; | 348 | app.isMaximized = true; |
349 | mainWindow?.setSkipTaskbar(false); | ||
349 | }); | 350 | }); |
350 | 351 | ||
351 | mainWindow.on('unmaximize', () => { | 352 | mainWindow.on('unmaximize', () => { |