fix: position fps counter in the top center for cms support
This commit is contained in:
parent
2591df6b28
commit
58295ade3c
|
@ -139,7 +139,7 @@ export const App: FC<{}> = props => {
|
|||
return (
|
||||
<Base fit overflow="hidden" className={imageRendering && "image-rendering-pixelated"}>
|
||||
{(!isReady || isError) && <LoadingView isError={isError} message={message} percent={percent} />}
|
||||
{uiFPSCounter && <FPSStats />}
|
||||
{uiFPSCounter && <FPSStats top={0} left={"50%"} />}
|
||||
<TransitionAnimation type={TransitionAnimationTypes.FADE_IN} inProp={isReady}>
|
||||
<MainView />
|
||||
</TransitionAnimation>
|
||||
|
|
Loading…
Reference in New Issue