Fix Mobile first-person Controls not showing. Fixes: #447

This commit is contained in:
Lukas Rieger (Blue) 2023-06-17 11:59:16 +02:00
parent 4fc6d7f889
commit 22f2b09fe5
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -1,6 +1,6 @@
<template> <template>
<div id="app" :class="{'theme-light': appState.theme === 'light', 'theme-dark': appState.theme === 'dark', 'theme-contrast': appState.theme === 'contrast'}"> <div id="app" :class="{'theme-light': appState.theme === 'light', 'theme-dark': appState.theme === 'dark', 'theme-contrast': appState.theme === 'contrast'}">
<FreeFlightMobileControls v-if="mapViewer.mapLoaded && appState.controls.state === 'free'" /> <FreeFlightMobileControls v-if="mapViewer.mapState === 'loaded' && appState.controls.state === 'free'" />
<ZoomButtons v-if="showMapMenu && appState.controls.showZoomButtons && appState.controls.state !== 'free'" /> <ZoomButtons v-if="showMapMenu && appState.controls.showZoomButtons && appState.controls.state !== 'free'" />
<ControlBar /> <ControlBar />
<div v-if="mapViewer.mapState !== 'loaded'" class="map-state-message">{{ $t("map." + mapViewer.mapState) }}</div> <div v-if="mapViewer.mapState !== 'loaded'" class="map-state-message">{{ $t("map." + mapViewer.mapState) }}</div>