From 71f87ba3edd20589ec32eae6b97bf7ef1b5549ae Mon Sep 17 00:00:00 2001 From: HF Date: Tue, 18 Feb 2020 11:28:27 +0100 Subject: [PATCH] no 3d ui on 2d canvas update README --- README.md | 3 ++- src/components/UI.jsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 803ed328..1616db81 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/src/components/UI.jsx b/src/components/UI.jsx index c296fdca..8ed58a9f 100644 --- a/src/components/UI.jsx +++ b/src/components/UI.jsx @@ -25,7 +25,7 @@ const UI = ({ isHistoricalView, is3D, isOnMobile }) => { {(is3D) ? null : } - {(isOnMobile) ? : null} + {(is3D && isOnMobile) ? : null}