diff --git a/src/main/windows/windowManager.ts b/src/main/windows/windowManager.ts index e97df7ba..85a06ad5 100644 --- a/src/main/windows/windowManager.ts +++ b/src/main/windows/windowManager.ts @@ -466,6 +466,9 @@ export function restore() { if (focused) { focused.restore(); } + if (focused?.isFullScreen()) { + focused.setFullScreen(false); + } } export function reload() { diff --git a/src/renderer/components/MainPage.tsx b/src/renderer/components/MainPage.tsx index f5d10df0..e08b5559 100644 --- a/src/renderer/components/MainPage.tsx +++ b/src/renderer/components/MainPage.tsx @@ -346,7 +346,7 @@ export default class MainPage extends React.PureComponent { } let maxButton; - if (this.state.maximized) { + if (this.state.maximized || this.state.fullScreen) { maxButton = (