mirror of
https://github.com/filecoin-project/slate.git
synced 2024-09-20 18:58:59 +03:00
exit on unity game
This commit is contained in:
parent
733b86bba3
commit
31cb4b5af6
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user