exit on unity game

This commit is contained in:
Martina 2020-12-14 13:03:42 -08:00
parent 733b86bba3
commit 31cb4b5af6

View File

@ -374,7 +374,9 @@ export class GlobalCarousel extends React.Component {
css={STYLES_EXPANDER}
onClick={() => this.setState({ showSidebar: !this.state.showSidebar })}
>
{this.state.showSidebar && !unityGame ? (
{unityGame ? (
<SVG.Dismiss height="24px" onClick={this._handleClose} />
) : this.state.showSidebar ? (
<SVG.Maximize height="24px" />
) : (
<SVG.Minimize height="24px" />