fix: position fps counter in the top center for cms support

This commit is contained in:
Niklas 2023-10-30 00:38:38 +01:00
parent 2591df6b28
commit 58295ade3c
1 changed files with 1 additions and 1 deletions

View File

@ -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>