no 3d ui on 2d canvas

update README
This commit is contained in:
HF 2020-02-18 11:28:27 +01:00
parent 6c5f185631
commit 71f87ba3ed
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# PixelPlanet.fun
![](https://github.com/pixelplanetdev/pixelplanet/workflows/Node%20CI/badge.svg)
[![Discord](https://img.shields.io/badge/Discord-Support-blue.svg)](https://pixelplanet.fun/discord) ![](https://github.com/pixelplanetdev/pixelplanet/workflows/Node%20CI/badge.svg)
Official repository of [pixelplanet.fun](http://www.pixelplanet.fun).

View File

@ -25,7 +25,7 @@ const UI = ({ isHistoricalView, is3D, isOnMobile }) => {
<PalselButton />
<Palette />
{(is3D) ? null : <GlobeButton />}
{(isOnMobile) ? <Mobile3DControls /> : null}
{(is3D && isOnMobile) ? <Mobile3DControls /> : null}
<CoolDownBox />
<NotifyBox />
</div>