fix: controls not being shown in mobile

This commit is contained in:
Timothy Jaeryang Baek 2024-11-22 11:21:53 -08:00
parent 1c3bc99b86
commit 3cfd4f8993

View File

@ -115,6 +115,20 @@
</div>
</button>
</Menu>
{:else if $mobile}
<Tooltip content={$i18n.t('Controls')}>
<button
class=" flex cursor-pointer px-2 py-2 rounded-xl hover:bg-gray-50 dark:hover:bg-gray-850 transition"
on:click={async () => {
await showControls.set(!$showControls);
}}
aria-label="Controls"
>
<div class=" m-auto self-center">
<AdjustmentsHorizontal className=" size-5" strokeWidth="0.5" />
</div>
</button>
</Tooltip>
{/if}
{#if !$mobile}