fix(web): improve focus and shortcuts (#7983)

* fix(web): improve focus and shortcuts

* fix shiftKeyIsDown
This commit is contained in:
Michel Heusschen
2024-03-15 17:01:35 +01:00
committed by GitHub
parent a46366d336
commit 029dd99ae0
7 changed files with 31 additions and 34 deletions

View File

@@ -45,7 +45,7 @@
<!-- Image grid -->
<div class="flex flex-wrap gap-[2px]">
{#each album.assets as asset (asset.id)}
<Thumbnail {asset} on:click={() => (selectedThumbnail = asset)} selected={isSelected(asset.id)} />
<Thumbnail {asset} onClick={() => (selectedThumbnail = asset)} selected={isSelected(asset.id)} />
{/each}
</div>
</section>