fix: hide top bar when choices panel is visible
This commit is contained in:
@@ -335,7 +335,7 @@ init()
|
|||||||
<Transition name="prompt-toast">
|
<Transition name="prompt-toast">
|
||||||
<div v-if="showPromptToast" class="prompt-toast">{{ promptToast }}</div>
|
<div v-if="showPromptToast" class="prompt-toast">{{ promptToast }}</div>
|
||||||
</Transition>
|
</Transition>
|
||||||
<div v-if="started && !store.gameEnded" class="top-bar" :class="{ hidden: !showTopBar }">
|
<div v-if="started && !store.gameEnded && store.choices.length === 0" class="top-bar" :class="{ hidden: !showTopBar }">
|
||||||
<button class="top-btn" @click="toggleFullscreen" :title="t('ui.fullscreen')">⛶</button>
|
<button class="top-btn" @click="toggleFullscreen" :title="t('ui.fullscreen')">⛶</button>
|
||||||
<button class="top-btn" @click="showPauseMenu = true" :title="t('ui.menu')">≡</button>
|
<button class="top-btn" @click="showPauseMenu = true" :title="t('ui.menu')">≡</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user