[MM-38577] Allow exit of full screen mode using the restore button on Windows (#1744)

This commit is contained in:
Devin Binnie
2021-09-22 09:42:26 -04:00
committed by GitHub
parent b09f1e23dc
commit 2f6b7f82c4
2 changed files with 4 additions and 1 deletions

View File

@@ -346,7 +346,7 @@ export default class MainPage extends React.PureComponent<Props, State> {
}
let maxButton;
if (this.state.maximized) {
if (this.state.maximized || this.state.fullScreen) {
maxButton = (
<div
className='button restore-button'