{this.props.onClickLogo ? (
) : null}
{(this.props.canChangeLanguage) && (
)}
{/* tw: theme toggler */}
{this.props.onClickTheme && (
)}
{/* tw: display compile errors */}
{this.props.compileErrors.length > 0 &&
{this.props.compileErrors.map(({ id, sprite, error }) => (
))}
}
{(this.props.canManageFiles) && (
{this.props.onClickNewWindow && (
)}
{(this.props.canSave || this.props.canCreateCopy || this.props.canRemix) && (
{this.props.canSave && (
)}
{this.props.canCreateCopy && (
)}
{this.props.canRemix && (
)}
)}
{(_className, downloadProject, extended) => (
{extended.available && (
{extended.name !== null && (
// eslint-disable-next-line max-len
)}
{/* eslint-disable-next-line max-len */}
)}
{notScratchDesktop() && (
)}
)}
{this.props.onClickPackager && (
)}
)}
{this.props.isPlayerOnly ? null : (
{(handleRestore, { restorable, deletedItem }) => (
)}
)}
{(toggleTurboMode, { turboMode }) => (
)}
{(changeFramerate, { framerate }) => (
)}
{changeUsername => (
)}
{(toggleCloudVariables, { enabled, canUseCloudVariables }) => (
)}
{this.props.onClickAddonSettings && (
)}
{/* {(this.props.authorUsername && this.props.authorUsername !== this.props.username) ? (
) : null} */}
{this.props.canEditTitle ? (
) : null}
{this.props.canRemix ? remixButton : []}
{this.props.enableCommunity ? (
(this.props.isShowingProject || this.props.isUpdating) && (
{
waitForUpdate => (
{
this.handleClickSeeCommunity(waitForUpdate);
}}
/* eslint-enable react/jsx-no-bind */
/>
)
}
)
) : (this.props.showComingSoon ? (
) : (this.props.enableSeeInside ? (
) : []))}
{this.props.isShowingProject && this.props.canEditTitle ?
()
: (null)}