Skip to content

Commit

Permalink
Move tooltips.
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanvugt committed Jul 30, 2023
1 parent 7b35767 commit 8e0d7d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,13 @@
use:keybind={{ keys: [','], f: navigateToSettings }}
/>

<TooltipTemplateHotkeys id="hotkeysTooltip" />
<TooltipTemplateSettings id="settingsTooltip" settings={data.settings} />

{#if $playbackError}
<div class="h-screen flex items-center justify-center">
<p class="p-4 text-red-500 text-lg text-center">{$playbackError}</p>
</div>
{:else if $playbackState}
<TooltipTemplateHotkeys id={helpTooltipOptions.templateId} />
<TooltipTemplateSettings id={settingsTooltipOptions.templateId} settings={data.settings} />
<div class="h-screen w-full max-w-screen-xl mx-auto flex flex-col md:flex-row">
<div class="flex flex-col grow">
{#if data.settings.title}
Expand Down

0 comments on commit 8e0d7d9

Please sign in to comment.