fix double-click in checkbox and select inputs

This commit is contained in:
vcoppe
2024-07-12 12:19:03 +02:00
parent 030f08abfd
commit a7f9e082e4
3 changed files with 38 additions and 28 deletions

View File

@@ -270,10 +270,12 @@
/>
</div>
{#if $gpxStatistics.global.time.moving === 0 || $gpxStatistics.global.time.moving === undefined}
<Label class="mt-0.5 flex flex-row gap-1 items-center">
<Checkbox disabled={!canUpdate} />
{$_('toolbar.time.artificial')}
</Label>
<div class="mt-0.5 flex flex-row gap-1 items-center hidden">
<Checkbox id="artificial-time" disabled={!canUpdate} />
<Label for="artificial-time">
{$_('toolbar.time.artificial')}
</Label>
</div>
{/if}
</fieldset>
<div class="flex flex-row gap-2">