This commit is contained in:
btzr-io 2018-08-18 19:15:04 -06:00 committed by Sean Yesmunt
parent 0c0e0d0960
commit 1d277bc81f

View file

@ -386,13 +386,13 @@ class ThreeViewer extends React.PureComponent<Props, State> {
const showLoading = isLoading && !error;
// Adaptive theme for gui controls
const containterClass = classNames('gui-container', { light: theme === 'light' });
const containerClass = classNames('gui-container', { light: theme === 'light' });
return (
<React.Fragment>
{error && <LoadingScreen status={error} spinner={false} />}
{showLoading && <LoadingScreen status={loadingMessage} spinner />}
<div ref={this.guiContainer} className={containterClass} />
<div ref={this.guiContainer} className={containerClass} />
<div
style={{ opacity: showViewer ? 1 : 0 }}
className="three-viewer file-render__viewer"